Anda di halaman 1dari 6

13/5/2015

PromotionRequestEmailnotinformative|PTCCommunity

Todo lo lugare > PTC Windchill > Dicuione

11 Repueta Repueta m reciente: 12-jun-2014 8:08 por MikeLockwood

RocketMan 31-jul-2012 13:25

Promotion Requet mail - not informative


ta pregunta no e repondi.
Hi All,

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.

I there a method to doing thi OOT? If not, doe anone have an


recommendation on where to look to find code that might help?

Thank in advance!

1409Vita

Categora: OM, Change & Configuration Management

tiqueta:

jzupfer 01-ago-2012 8:54 (en repueta a RocketMan)


Re: Promotion Requet mail - not informative

Hi, en,

The Windchill Cutomization Guide include information aout tailoring


workflow notification. The chapter entitled "Cutomizing Workflow
Adminitration" cover the following topic:

Cutomizing promotion requet workflow procee


https://www.ptcusercommunity.com/thread/39334

1/6

13/5/2015

PromotionRequestEmailnotinformative|PTCCommunity

nhanced promotion requet


Workflow email notification

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.

Pleae let me know if thi documentation i helpful and if ou have an feedack.

Jane
JaneZupfer
VP,WindchillPublications
T763.957.8299E

jzupfer@PTC.com

PTC.com
Accione

Guta (1)

RocketMan 03-ago-2012 9:25 (en repueta a jzupfer)


Re: Promotion Requet mail - not informative

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?

The reaon I ak i that it eem that it would e infinitel eaier to ue a


tet/demo environment than creating a whole new environment (Not onl am I
concerned with reaking the current operational environment, I'd like to
prevent pamming management when I tart teting approval).

M impreion regarding etting up thi tem in a wa that I can e free to


tet without reaking the tem that i currentl in place i to create a new
verion of each: workflow, lifeccle, team, context, promotion preference, etc.
I that accurate? Thi i wh I ak aout a tet environment. If thi in't
accurate, could ou pleae point me in the right direction?

https://www.ptcusercommunity.com/thread/39334

2/6

13/5/2015

PromotionRequestEmailnotinformative|PTCCommunity

Thank!
Accione

Guta (0)

jzupfer 03-ago-2012 11:23 (en repueta a RocketMan)


Re: Promotion Requet mail - not informative

en,

There i a Stem Validation Guide ,authored the nterprie


Deploment Center, that decrie how to et up a tet tem that can e
ued to pre-qualif a production environment or to qualif planned
change afer the production tem ha een deploed. I thi helpful?

Jane
Accione

Guta (0)

RocketMan 21-ago-2012 6:13 (en repueta a jzupfer)


Re: Promotion Requet mail - not informative

Jane,

Doe uch a validation guide/environment exit for Windchill PDMLink


9.1? That i currentl the verion we have.

Thank!
Accione

Guta (0)

MikeLockwood 03-ago-2012 10:51 (en repueta a jzupfer)


Re: Promotion Requet mail - not informative

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)

RocketMan 03-ago-2012 11:23 (en repueta a MikeLockwood)


Re: Promotion Requet mail - not informative

Thank o much for looking into thi.

Forgive m ignorance ut I have een looking through the variou guide


and it eem to me that it hould e poile cutomize the promotion
proce workflow uch that a uer-definale variale i ued where the
owner define the variale (in a text ox or omething like that) which then
fire a notification root diplaing the variale which, in thi cae, i a
tring of text created the owner.

I that not poile?

Thank again for our help!


Accione

Guta (0)

MikeLockwood 12-jun-2014 8:08 (en repueta a jzupfer)


Re: Promotion Requet mail - not informative

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)

MatthewKnight 03-ago-2012 11:33 (en repueta a RocketMan)


Re: Promotion Requet mail - not informative

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)

RocketMan 21-ago-2012 6:16 (en repueta a MatthewKnight)


Re: Promotion Requet mail - not informative

Thank Matthew.

I'll have to rememer that lat part.

I wa reall referring to uing the WC Cutomizer' guide in conjunction to the


Promotion Requet template to omehow ave uer-definale text a a
variale which can then e included in a notification.
Accione

Guta (0)

RocketMan 18-ene-2013 7:18 (en repueta a MatthewKnight)


Re: Promotion Requet mail - not informative

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)

ptc-4413179 12-jun-2014 6:43 (en repueta a RocketMan)


Re: Promotion Requet mail - not informative

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

Inicio | Aout | Contact | Communit Help | Term of Ue |


Legal Policie

https://www.ptcusercommunity.com/thread/39334

Guta (0)

Copright 2015 PTC Inc. |

6/6

Anda mungkin juga menyukai