Hi all
Sorry for the confusion :
rephrasing my last comment :
"
The step will be an activity step with task as copy of standard user decision task.Can i make use of Program exit in workflow step to send mail as i need to pass the webdynpro application link in mail to the person from whom action is needed?
Along with dynproapplication link will have to pass workitem id of the activity as its needed to validate and intialise the view using values from the task container and secondly to check if action has already been taken by user or no
Wanted to confirm :
1. if this appoach works fine with UWL as well.
2. Also can i read the contents of the container as the mail that needs to be sent need to take some contents from workflow container.
"
The details of the requirement is a bit extensive so will try to explain in brief.
you are right i need to pass workitem id as parameter
User decision is needed so that i can halt the workflow completion i am trying to avoid using the wait step.
Will be passing the workitem id of the user decision step (made a copy of Stnd decision decision task ).as parameter in the webdynpro application url.
When user route to application :
1. After action is complete then will complete the workitem of decision using standard FMs available.
2. If user again clicks on the link then in default start event will place a logic which will look at the status of work item id it receives as parameter if its executed it will display message that 'action is already performed'.
Today i tried having program exit in the activity whose task is a copy of user decision step task so was able to pass the workitem id in the url generated in the mail.
Mail sending logic was placed in exit and was able to prepare the URL of webdynpro application along with parameters.
So wanted to confirm if its fine to go with this approach ?