PromotionRequestEmailnotinformative|PTCCommunity
I'm prett new to Windchill ut I have coured the PDM Uer' Guide, uine
Admin Guide, and Stem Admin Guide, and I cannot find an wa to make the
email notification for a promotion requet more... dnamic. That i, wh the heck
doen't the decription for the promotion requet get ent in the email
notification? The generic meage entered under the "activit ta" of a workflow
proce i le than helpful. You would think that the promotion requet
decription would e included in the notification email - thi wa ou can ee jut
from the email where that fall on our priorit lit.
Thank in advance!
1409Vita
tiqueta:
Hi, en,
1/6
13/5/2015
PromotionRequestEmailnotinformative|PTCCommunity
The link I've included i to the 10.1 verion of the guide on ptc.com. You can find
other releae verion there a well, and the cutomization documentation i alo
included in the 10.0 and 10.1 verion of the Windchill Help Center.
Jane
JaneZupfer
VP,WindchillPublications
T763.957.8299E
jzupfer@PTC.com
PTC.com
Accione
Guta (1)
Jane,
Thank ver much for our repone. I there an form of tet environment
uch that I can modif our current Promotion Approval Requet workflow
proce without dirupting the whole tem?
https://www.ptcusercommunity.com/thread/39334
2/6
13/5/2015
PromotionRequestEmailnotinformative|PTCCommunity
Thank!
Accione
Guta (0)
en,
Jane
Accione
Guta (0)
Jane,
Thank!
Accione
Guta (0)
We plaed with thi relativel extenivel. It work ver well for email root,
ut o far it doe not eem that there i an wa to affect the canned email text
that reult from electing the Notification checkmark for Activitie and thi i
where the real need i.
https://www.ptcusercommunity.com/thread/39334
3/6
13/5/2015
PromotionRequestEmailnotinformative|PTCCommunity
Accione
Guta (0)
Guta (0)
I got prett excited when firt learning of thi capailit - ut realized prett
quickl that it onl applied (at the time - proal till ame) to email ent
from notification root, not for email ent with Tak. Pleae advie if thi
ha changed ince 10.0 F000.
Accione
Guta (0)
I'm not ure which cla or template ou're looking at, ut from what I rememer,
much of the notification tuff i hardcoded, and not even extendale through the
ue of a ervice, and there in't much availale through the template. Sometime,
ou can extend a ervice and add or override method to e ued a template,
ut I've found it ea to not ue ome of the OOT notification option, and jut add
https://www.ptcusercommunity.com/thread/39334
4/6
13/5/2015
PromotionRequestEmailnotinformative|PTCCommunity
m own expreion efore the workflow activitie and create m own email.
Accione
Guta (1)
Thank Matthew.
Guta (0)
Hi Matthew,
I've dicovered two other thread on thi ite where people are tring to
capture an attriute of the PO and the following code wa uggeted:
wt.change2.WTChangeOrder2cm1=(wt.change2.WTChangeOrder2)primaryBusinessObject
wt.iba.value.IBAHolderibaHolder1=(wt.iba.value.IBAHolder)cm1
ibaHolder1=wt.iba.value.service.IBAValueHelper.service.refreshAttributeContainer(ibaHolder1,
null,null,null)
wt.iba.value.DefaultAttributeContainerattributeContainer=
(wt.iba.value.DefaultAttributeContainer)ibaHolder1.getAttributeContainer()
wt.iba.definition.service.StandardIBADefinitionServicedefService=new
wt.iba.definition.service.StandardIBADefinitionService()
wt.iba.definition.litedefinition.AttributeDefDefaultViewattributeDefinition=
defService.getAttributeDefDefaultViewByPath("PhoneNumber")//Heregivetheattributename
insteadof"PhoneNumber".
wt.iba.value.litevalue.AbstractValueViewsvc=
attributeContainer.getAttributeValues(attributeDefinition)[0]
IBAValue_PhoneNumber=svc.getLocalizedDisplayString()
Thewholethreadcanbefoundhere:
http://communities.ptc.com/thread/36286?tstart=120
https://www.ptcusercommunity.com/thread/39334
5/6
13/5/2015
PromotionRequestEmailnotinformative|PTCCommunity
IfI'mtryingtogetthe"Description"attributeofapromotionrequestandsavethatasavariableso
itcanbedisplayedinnotificationemails(eithertotheapproversortonotifytheorganizationthat
ithasbeenapproved),shouldthatfirstlineofthecodebechangedto
wt.maturity.PromotionNotice?Myguttellsmeno.Ialsodon'tunderstandwhattheViewByPath
nameisand,ifit'snotsomethingIdesignate,whereIwouldfindit.
Accione
Guta (1)
en,
I am jut running into the ame exact iue now. PTC told me "wecannot
achievewhatyouarelookingfor".
I'm wondering if the lat piece of code ou poted along with our quetion
ever worked to our atifaction?
Thank.
Accione
https://www.ptcusercommunity.com/thread/39334
Guta (0)
6/6