I'm trying to carry out a local action upon reaching a certain stage in my case, basically to assign the user to a workparty via addWorkObjectParty. However, this action is not being triggered when I step through the workflow (although it does execute successfully when I run it manually).
I attached screenshots of how the activity is set up within the assignment. I don't think it's necessarily a problem with the flow action itself, just not sure how to get it to launch when needed. Any thoughts on this issue would be appreciated.
Maybe this is because it is a Work- activity supposed to run at WorkObject level and not Assignment.
Have a look to the activity Work-.AddParty which is effectively calling addWorkObjectParty at Work- level and check with your configuration.
I see, that would make sense. I wanted to be able to automatically capture the work parties upon assignment, rather than through the user. Is there an assignment-levle activity to do something along those lines?
Work Parties are always saved into the WorkObject. So I guess you just have to reposition yourself into Work- level. For example you can just call an extra activity having pyWorkPage as a Step page and then call addWorkObjectParty.