on 11-13-2007 3:37 AM
Hi friends,
I have a requirement where in i am checking inside the workflow whehther the rfc destination is maintianed using a condition step and if it fails i have to exit processing completely and send a workitem to an administrator informing them of the issue and <b>Allow the possibility for the workflow to be restarted again once the table has been updated.</b>How to do allow the possibility of restarting the workflow.
rgds,
You have two options :
1 . Simply start another workflow using events just after update statement of table.
2. The workflow can be started thorugh change docs of the table you are updating. Though it would be little more sophistication than what was asked for .Check Tcodes SCDO and SWEC for this. But is the workflow the only way to update the table ? if yes then it should be pretty simple to achive. As soon as the table gets updated thru workflow (By Admin's workitem) your workflow will start.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In my view do not break the flow send work item to administrator and let him maintian the table and in work item give him the transaction to maintain the entry and then give one button to continue the process...
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its not a good practise to force a Wflow into error. You just send a mail to the Wflow adminstrator and terminate the Wflow by using a process control step. In the mail you provide all the necessary key fields so that the wflow admin can start a new wflow instance from SWUS or SWUE.
Thanks
Arghadip
As Arghadip says you should not put wf in error and then restart... I would suggest you have the WF Admin step as the last step of the branch and there u write a small method which will simply present him a screen ( can be done via submit report ) . Should not a big task I belive and will be a cleaner way to do it..
Regards,
Anuj Sethi
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.