Hi,
I have an invoice approval workflow. In one of the tasks i want to notify the agent if a certain thing has happened in a previous step in the workflow.
If it has happened a pop-up must be displayed, and then the task must be presented. If it hasn't happened only the task must be presented to the agent.
I was thinking of the following scenario.
In the previous step if the thing has happened, i will create an element in the WF container, for instance, &ACTION& and give it value 'X'.
Then on the task itself i call a "method before executing the task".
The method will read the wf-container and if &ACTION& = 'X' it will display the pop-up. The agent will have one button [CONTINUE] and after clicking the pop-up disappears and the task is presented.
Do you think it is possible to create it like this?
Is it indeed possible to read from the container in that method?
I think i can just create the method on the BOR object from the task. Is that the best way?
Are there any problems to be foreseen with this scenario?
Any other comments, questions, doubts, please send them to me.
Regards
Robert