cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Application. Tracing action steps and Rules.

Former Member
0 Kudos

Hi All

I wrote Action with several action steps and rules.

It works not as expected.


What steps should be taken to understand the reason.

For example

There are two action steps

if value is found then action one shoud be work out and show dialog that value is found

if not then  in second action dialog shows that value is NOT found

But in my case it never finds a value, although it is in the table

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If you are using eclipse for development, install the ATE plugin. Within ATE, you can select debugging for action, rule, transaction. You can also select debugging log in the ATE function.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

You should use the ATE that is part of the Agentry Editor.   In there you can turn on Action and Rule debugging.  When you run your action it will generate a log file (set the log level to Low Importance to get the most detail).  That will help you with troubleshooting.

--Bill

Former Member
0 Kudos

Hello

I use ATE.

Set to log my Actions

Started Test Client and got next Log


2016/03/28 15:04:44.064: Opening log file

2016/03/28 15:04:44.064: + Module=FlightBookingModule

2016/03/28 15:04:44.064:   + Action=FindFlScheduleByScheduleID_Copy1

2016/03/28 15:04:44.064:     + Sub-Action Step='FindScheduleID_SubAct2'

2016/03/28 15:04:44.064:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:44.064:         + Function=@COLLECTION_FIND

2016/03/28 15:04:44.064:           Result<Boolean>= false

2016/03/28 15:04:44.064:         Result<Boolean>= false

2016/03/28 15:04:44.064:     + Sub-Action Step='FindScheduleID_SubAct3'

2016/03/28 15:04:44.064:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1_NOT

2016/03/28 15:04:44.064:         + Function=@NOT

2016/03/28 15:04:44.064:           + SubRuleTerm=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:44.064:             + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:44.064:               + Function=@COLLECTION_FIND

2016/03/28 15:04:44.064:                 Result<Boolean>= false

2016/03/28 15:04:44.064:               Result<Boolean>= false

2016/03/28 15:04:44.064:             Result<Boolean>= false

2016/03/28 15:04:44.064:           Result<Boolean>= true

2016/03/28 15:04:44.064:         Result<Boolean>= true

2016/03/28 15:04:44.064: + Module=FlightBookingModule

2016/03/28 15:04:44.064:   + Action=FindFlScheduleByScheduleID_Copy1

2016/03/28 15:04:44.064:     + Sub-Action Step='FindScheduleID_SubAct2'

2016/03/28 15:04:44.064:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:44.064:         + Function=@COLLECTION_FIND

2016/03/28 15:04:44.064:           Result<Boolean>= false

2016/03/28 15:04:44.064:         Result<Boolean>= false

2016/03/28 15:04:44.064:     + Sub-Action Step='FindScheduleID_SubAct3'

2016/03/28 15:04:44.064:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1_NOT

2016/03/28 15:04:44.064:         + Function=@NOT

2016/03/28 15:04:44.064:           + SubRuleTerm=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:44.064:             + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:44.064:               + Function=@COLLECTION_FIND

2016/03/28 15:04:44.064:                 Result<Boolean>= false

2016/03/28 15:04:44.064:               Result<Boolean>= false

2016/03/28 15:04:44.064:             Result<Boolean>= false

2016/03/28 15:04:44.064:           Result<Boolean>= true

2016/03/28 15:04:44.064:         Result<Boolean>= true

2016/03/28 15:04:45.064: + Module=FlightBookingModule

2016/03/28 15:04:45.064:   + Action=FindFlScheduleByScheduleID_Copy1

2016/03/28 15:04:45.064:     + Sub-Action Step='FindScheduleID_SubAct2'

2016/03/28 15:04:45.064:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:45.064:         + Function=@COLLECTION_FIND

2016/03/28 15:04:45.064:           Result<Boolean>= false

2016/03/28 15:04:45.064:         Result<Boolean>= false

2016/03/28 15:04:45.064:     + Sub-Action Step='FindScheduleID_SubAct3'

2016/03/28 15:04:45.064:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1_NOT

2016/03/28 15:04:45.064:         + Function=@NOT

2016/03/28 15:04:45.064:           + SubRuleTerm=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:45.064:             + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:04:45.064:               + Function=@COLLECTION_FIND

2016/03/28 15:04:45.064:                 Result<Boolean>= false

2016/03/28 15:04:45.064:               Result<Boolean>= false

2016/03/28 15:04:45.064:             Result<Boolean>= false

2016/03/28 15:04:45.064:           Result<Boolean>= true

2016/03/28 15:04:45.064:         Result<Boolean>= true

2016/03/28 15:06:23.142: + Module=FlightBookingModule

2016/03/28 15:06:23.142:   + Action=FindFlScheduleByScheduleID_Copy1

2016/03/28 15:06:23.142:     + Sub-Action Step='FindScheduleID_SubAct2'

2016/03/28 15:06:23.142:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:23.142:         + Function=@COLLECTION_FIND

2016/03/28 15:06:23.142:           Result<Boolean>= false

2016/03/28 15:06:23.142:         Result<Boolean>= false

2016/03/28 15:06:23.142:     + Sub-Action Step='FindScheduleID_SubAct3'

2016/03/28 15:06:23.142:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1_NOT

2016/03/28 15:06:23.142:         + Function=@NOT

2016/03/28 15:06:23.142:           + SubRuleTerm=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:23.142:             + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:23.142:               + Function=@COLLECTION_FIND

2016/03/28 15:06:23.142:                 Result<Boolean>= false

2016/03/28 15:06:23.142:               Result<Boolean>= false

2016/03/28 15:06:23.142:             Result<Boolean>= false

2016/03/28 15:06:23.142:           Result<Boolean>= true

2016/03/28 15:06:23.142:         Result<Boolean>= true

2016/03/28 15:06:23.704: + Module=FlightBookingModule

2016/03/28 15:06:23.704:   + Action=FindFlScheduleByScheduleID_Copy1

2016/03/28 15:06:23.704:     + Sub-Action Step='FindScheduleID_SubAct2'

2016/03/28 15:06:23.704:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:23.704:         + Function=@COLLECTION_FIND

2016/03/28 15:06:23.704:           Result<Boolean>= false

2016/03/28 15:06:23.704:         Result<Boolean>= false

2016/03/28 15:06:23.704:     + Sub-Action Step='FindScheduleID_SubAct3'

2016/03/28 15:06:23.704:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1_NOT

2016/03/28 15:06:23.704:         + Function=@NOT

2016/03/28 15:06:23.704:           + SubRuleTerm=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:23.704:             + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:23.704:               + Function=@COLLECTION_FIND

2016/03/28 15:06:23.704:                 Result<Boolean>= false

2016/03/28 15:06:23.704:               Result<Boolean>= false

2016/03/28 15:06:23.704:             Result<Boolean>= false

2016/03/28 15:06:23.704:           Result<Boolean>= true

2016/03/28 15:06:23.704:         Result<Boolean>= true

2016/03/28 15:06:25.673: + Module=FlightBookingModule

2016/03/28 15:06:25.673:   + Action=FindFlScheduleByScheduleID_Copy1

2016/03/28 15:06:25.673:     + Sub-Action Step='FindScheduleID_SubAct2'

2016/03/28 15:06:25.673:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:25.673:         + Function=@COLLECTION_FIND

2016/03/28 15:06:25.673:           Result<Boolean>= false

2016/03/28 15:06:25.673:         Result<Boolean>= false

2016/03/28 15:06:25.673:     + Sub-Action Step='FindScheduleID_SubAct3'

2016/03/28 15:06:25.673:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1_NOT

2016/03/28 15:06:25.673:         + Function=@NOT

2016/03/28 15:06:25.673:           + SubRuleTerm=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:25.673:             + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:25.673:               + Function=@COLLECTION_FIND

2016/03/28 15:06:25.673:                 Result<Boolean>= false

2016/03/28 15:06:25.673:               Result<Boolean>= false

2016/03/28 15:06:25.673:             Result<Boolean>= false

2016/03/28 15:06:25.673:           Result<Boolean>= true

2016/03/28 15:06:25.673:         Result<Boolean>= true

2016/03/28 15:06:28.361: + Module=FlightBookingModule

2016/03/28 15:06:28.361:   + Action=FindFlScheduleByScheduleID_Copy1

2016/03/28 15:06:28.361:     + Sub-Action Step='FindScheduleID_SubAct2'

2016/03/28 15:06:28.361:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:28.361:         + Function=@COLLECTION_FIND

2016/03/28 15:06:28.361:           Result<Boolean>= false

2016/03/28 15:06:28.361:         Result<Boolean>= false

2016/03/28 15:06:28.361:     + Sub-Action Step='FindScheduleID_SubAct3'

2016/03/28 15:06:28.361:       + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1_NOT

2016/03/28 15:06:28.361:         + Function=@NOT

2016/03/28 15:06:28.361:           + SubRuleTerm=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:28.361:             + Rule=FindScheduleID_SubAct_ExecutionRule_Copy1

2016/03/28 15:06:28.361:               + Function=@COLLECTION_FIND

2016/03/28 15:06:28.361:                 Result<Boolean>= false

2016/03/28 15:06:28.361:               Result<Boolean>= false

2016/03/28 15:06:28.361:             Result<Boolean>= false

2016/03/28 15:06:28.361:           Result<Boolean>= true

2016/03/28 15:06:28.361:         Result<Boolean>= true

I know that I have record with ScheduleID = 60 in the FlightSchduleCollection, but

@COLLECTION_FIND retruns False

Here is a text of FindScheduleID_SubAct_ExecutionRule_Copy1  Rule


(@COLLECTION_FIND :>12"FlightScheduleCollection" (@IF (@EQSTR :>12"ScheduleID" :>2"FlightSchedTiledSc_TopTile_ScrSet">1005"NewFlightSchedTiledSc_TopTile_ScrSet_PPC_Detail1">10003"FindDataEdit") (('true)) (('false))))

Can I see the posted values of variables and collections?