Capture workflow action in code

Can we get to know the workflow action in def validate(self)?

I need to apply different validations (read staggered validation) at different workflow stages. Also need to alter read only state for certain fields based on workflow state

Please close the thread, my purpose is solved

for Ref.

Just checked Req Res

Action is not sent to server with workflow state is updated, but the updated state is send via savedoc api.

It means validate function will receive updated workflow state and i can hook validations to workflow state variable.

1 Like