cancel
Showing results for 
Search instead for 
Did you mean: 

C4C :: Interrupt a Workflow Rule

02-24-2021 2:37 PM
former_member89149 Participant
506 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hi!

How to interrupt a workflow rule?

There is a workflow rule for Contact that sends email on creation of contact. The task is to interrupt it for some conditions.

I try to create the Enhancement Implementation

And the stub code in VALIDATE_CONDITION.absl:

import AP.Workflow.Global;
var result : ConditionValidationResult;
var lvInputData = InputData.ConditionData;
result.ConditionIsInvalidIndicator = false;
return result;

Then I set breakpoint, turn on debug and create a Contact in UI but breakpoint did not work.

Am I on the right way? Or it is needed to do something else for interrupting the workflow rule?

Thanks in advance.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Denis,

I presume the work flow has been set up in: Administrator - Workflow rules.

Why don't you adjust the conditions in the workflow? You could also set up multiple work flow rules if that suites the processes better or extend the conditions within the workflow rules.

Kr.

MJ

former_member89149
Participant
0 Likes

Hi Marie-Jose,

Yes, Workflow Rule was created in Administrator - Workflow rules. But on interrupting should be checked email activities to prevent duplicates. Actually there are two Workflow Rules and of them must be interrupted.