cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Application. Excute Action in the Rule.

Former Member
0 Kudos

Hi All

Rule allows to assign Action in the "then" or "else" action of IF logical function

But it looks like it doesn't fire them.

Why?

I assigned Rule in the SubAction-Execution Rule

Rule must fire one of action that show Dialog Message but not message Shows.

Here is FindScheduleID_SubAct2 - subaction

FindScheduleID_SubAct_ExecutionRule - Rule with IF condition and two actions.  One of which must be called.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1) The execution Rule doesn't fire the action.  You need to list the action on the Action line of the Subaction.  (Note you can have a rule to pick the action that is fired on it)

2) The execution Rule is only for should the action be called or not.

3) The Act on object needs to point to the object that needs to be changed (for edited) or the parent object (for when adding a new object)

In your case I would say,

1) have the execution type set to loop over collection

2) set the collection to your Flight Schedule collection
3) Because the execution type to loop over collection, the rule will be fired for each object so the rule would only need to look like:

(Root)
EQSTR

- ScheduleID
- Search Field

4) Set the action to the "xxx_Is_Found" Action

Answers (2)

Answers (2)

jason_latko
Advisor
Advisor
0 Kudos

Konstantin,

Steve is right.  Add a rule to the Action property of the sub-action, then use the rule to dynamically select what action to run.  The execute rule is not used for picking the action.

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Hi,

Please create an action and assign it to field action in the action step definition as in the above image.

Enter your processing logic in the action steps.