on ‎2015 Jul 17 10:23 AM
Hi Experts,
I have designed the PR Release workflow and it is working fine.
I want to restrict the execution of the workflow when PR is incomplete.
For achieving this, I have created one FM and assigned it to the workflow as check function module in Transaction SWETYPV.
Inside the FM, I have return the custom logic that if PR is incomplete than workflow should not trigger as shown below.
IF EBAN-MEMORY EQ 'X'. "means incomplete
RAISE NOT_TRIGGERED.
ENDIF.
this is working fine but the I observed in SWEL transaction it appears with Red error mark.
so just I am wondering is this the proper way for restricting the workflow execution under certain conditions.
please suggest.
Regards,
Jagesh
Request clarification before answering.
Hi,
if I understood your problem correctly, you can achieve same thing using start condition in header of workflow.
you have to delegate standard business object , create a attribute in BO , you can create a char1 type attribute , if PR is incomplete then set this to 'X'.
you can use this attribute to put start condition in workflow header.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.