Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

using the Check Function Module in SWETYPV

$
0
0

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.
wf_err1.png

 

so just I am wondering is this the proper way for restricting the workflow execution under certain conditions.

please suggest.

 

Regards,

Jagesh


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>