This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set PWOState in MakeDecision

In my approve workflow I have an EX approval step (external decision) that I invoke from script with the method

 objPWO.Custom.CallMethod("MakeDecisione","author",true,"reason"

But I want to set the PWOState by script and not using the field in the approval step ("Processing status on success")

I try to call makedecision in make script and immediatly after updating the pwostate of my request by script.

But the value is overwritten because the update run before the end of makedecision step.

 

I don't know how to do it.

Thanks