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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

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
Top Tags