I followed the standard button "Edit" but when i click on this butto, it shows the section of the flow action and when i submit nothing changes (the status is still the same and it doesn't pass to the next flow)
could you elaborate on the use case. If you are "performing" a flow action, that would mean that you are moving your case ahead in the flow. should you not be in "Perform" harness ? Why do you need to be in review harness ?
I have the same requirement. I tried your code but apparently did not get one or more parameters right. Can you elaborate more on the parameters #5 and #6 above? I am trying to get the 'Update Progress' button to behave like the menu option with that same name.
Posted: 4 years ago
Updated: 4 years ago
Posted: 29 Jun 2016 3:29 EDT Updated: 29 Jun 2016 3:33 EDT
Try to investigate those parameters by opening the Tracer then opening the actions list. You will find a page "pyFlowActionLis" in the tracer which contains all actions. Try to open the action that you want to perform it as a button "Update Progress", you will find something like that:
I opened for example the "assignCase" action to show you the details, you need to insert those parameters:
For the first parameter "pyFlowKey", it cotains the pzInsKey so i created a new property "AssignFlowKey" to save this value and I added a declare expression for it like that:
After that, you need to use this property as parameter for the Run Script function. That's all.
While trying to implement this, I get an error "Required parameter assignmentHandle". If I copy pyFlowKey from the tracer, it works. I get the error when I try to use the property pzInsKey and set the parameter through the declare expression.