Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

I am trying to write a logic in an agent. Can someone help me fix the issue?

edited Aug 28, 2024 5:24PM in Transportation Management 9 comments

Summary:

I am writing an agent logic where when an arrival tracking event is entered in the system for a shipment stop, if the arrival timestamp is greater than the planned departure-activity_time of the stop(this is basically attribute_Date3 in our business) by more than 1 hour, we should be able to insert a shipment stop refnum : DELAY_INDICATOR in the shipment stop and mark it as YES.

I am writing this logic in the agent which will be triggered when SHIPMENT - STATUS CHANGED(Restrictions : INTEGRATION or INTERNAL or USER, ENROUTE_COMPLETED or ENROUTE_DELAYED or ENROUTE_ENROUTE) event occurs.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!