[progress Communities] [progress Openedge Abl] Forum Post: Re: Problem Passing Dataslot To...

  • Thread starter Thread starter Karthikeyan Bhaskaran
  • Start date Start date
Status
Not open for further replies.
K

Karthikeyan Bhaskaran

Guest
Hello Peter, To use the value of WorkstepName, continue to use the CopWorkstepName dataslot to store the value of the WorkstepName, and use it as input to the ProcessB Subprocess workstep created in ProcessA. Only thing missing appears to be a way to pass the value from ProcessA being passed to ProcessB. The Before Activation script piece is necessary - please post a screenshot of the Logic tab used in your approach. One way that I found to be working is: In ProcessA: - Use a Before Activation > Other > Custom > Custom Script (one line) as follows: jst.putDataSlot("CopWorkstepName",jst.getWorkstepName()); - In the Subprocess workstep ProcessB, use CopWorkstepName as the Input Dataslot. - Save and Publish. In ProcessB: - Create a CHAR dataslot CopWorkstepName in the ProcessB. - Add this dataslot on some workstep to verify if the correct workstepname from ProcessA has been transmitted. Use this dataslot for the conditional operations you wish to perform from the ProcessB. You can add the field on any of the worksteps to verify that the correct ProcessA workstepname has been passed. Hope this addresses your requirement.

Continue reading...
 
Status
Not open for further replies.
Back
Top