Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need to termiate the workflow upon wrong input

rangerlet_mesee
Participant
0 Likes
422

Hi,

I am having a workflow whose input is coming from a report selection screen parameter and the input enters from event to workflow through WAPI_EVENT_CREATE..Then the corresponding steps in the workflow are executed..

But when I provide wrong input for the selection screen parameter, the workflow should terminate and none of the steps in the workflow should get triggered...

I don't want to restrict the selection screen parameter but want the workflow not to take wrong input..

May I know how do I achieve this?

Regards

Madhukar

Hi,

I am having a workflow whose input is coming from a report selection screen parameter and the input enters from event to workflow through WAPI_EVENT_CREATE..Then the corresponding steps in the workflow are executed..

But when I provide wrong input for the selection screen parameter, the workflow should terminate and none of the steps in the workflow should get triggered...

I don't want to restrict the selection screen parameter but want the workflow not to take wrong input..

May I know how do I achieve this?

Regards

Madhukar

1 REPLY 1
Read only

Former Member
0 Likes
387

Hi Rangerlet,

Make a condition to check the selection parameter before making a call to FM WAPI_EVENT_CREATE.

If the condition satisfies, only then call the workflow.

Regards,

Vinoth