cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are troubleshooting an issue impacting community login, and it may be intermittently unavailable. Sorry for any inconvenience.

How do I programmatically create an "Approve Promotion Request" Activity in a workflow

RandyJones
19-Tanzanite

How do I programmatically create an "Approve Promotion Request" Activity in a workflow

Windchill 9.1 M070

I have a customized Promotion Request Approval (don't we all...). I have added an "auto checker" that does some sanity checking on the object. If this fails I am doing the following:

1. send email to the Owner with the reasons the Promotion Request was rejected
2. setting the state, of the promotion request, to Rejected
3. and then End

What I would like to do is programmatically create an Activity to record the reasons for rejection in the comments.  So in other words how do I programmatically create (in the workflow) an activity that would be like the below screenshot. This is a screenshot of a Promotion Request Approval that was
rejected by the Approver.

ActivityComments


--
0 REPLIES 0
Announcements


Top Tags