We have written a forge workflow validator app using lambda function approach which is working fine.
It is failing in one scenario.
Workflow transition executed > A pop-up screen appeared > user hit the workflow button on that pop up screen > work flow validator error appeared as per the logic on the same pop-up screen > user corrected the field values as per the workflow validator app error in the same pop-up screen> hit the workflow button again on that pop up screen. > but validation is still failing as it is referring to old values.
I tried to do console.log on context but it is not capturing the updated field values of pop-up screen. It is only having below standard information in all cases.
- User ID
- Jira issue key
- workflow transition ID’s
- few system related info like cloud id, context token, module id etc.
How to pass pop-up screen changes to the lambda functions via context ?