im trying to detect the workflow action outcome so i can make a custom logic and this is the code
<$if wfAction like "APPROVE"$>
<$wfSet("wfJumpName", "returntoOriginal")$>
<$wfSet("wfJumpTargetStep", "reveew@newWorkFlow")$>
<$wfSet("wfJumpReturnStep", wfCurrentStep(0))$>
<$wfSet("wfJumpEntryNotifyOff", "0")$>
<$wfReleaseDocument()$>
<$endif$>
this code is generated , i didn't write any line but when i try to test the script i get the following error :
Cannot find the parameter 'wfAction'.