Posted: 25 Aug 2020 3:57 EDT Last activity: 25 Aug 2020 10:51 EDT
Parameter set in activity
A button action in UI is calling an activity(A) which calls another activity(B) to create work object. Based on the selections in UI, parameters are being set using Property-Set method. But the latest values of parameters are not being passed to activity B. It is taking the earlier values (which are in pzActivityParams ) rather than updated values. What can I do to pass the latest values to B. [the pass current parameter page is unchecked and the params in B is being manually set at the time of calling]
Version - 7.2
***Moderator: Pallavi to update platform capability tags***
The flow is something like this :- Button click, pass the UI value to activity A, <some processing> call B (which is to create work object , OOTB svcAddWorkObject used) , work object gets created, first step's activity is called which contains the old value of this parameter (interestingly that is the value being passed from UI to A, in pzActivityParams )
I have tried this using an OUT param as well. The Property Set to out parameter and using this out parameter for setting values while calling B.