Skip to Content
avatar image
Former Member

Rule for looping over a collection of Ojects in Agentry

Hi All,

The solution that we have currently has a Object - WorkOrder which has a collection - Notfication. This Notification has a property - Notes.

The requirement is to display the Notes of the Notification which is associated with the WorkOrder. The mapping field here would be the Notification Number which is a part of both WorkOrder and Notification objects. We need to have a rule that picks the Notification for which the Number matches with that of the WokOrder object. How do we achieve this

Thanks,

Pooja

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 02, 2015 at 11:18 AM

    Pooja,

    If your workorder and notification has relationship 1:1 than you can achieve this very easily.

    Like

      IF

         EQSTR

         Notification    

         Application.Blank

      Application.Blank

      Notification property-> 1st object->Notes property

    If relationship is not 1:1 than you have to write a rule like

    current property-> Notification property where Notification equal to NotificationNum->Notes property

    Most of the case we use 1:1 relationship. Let me know if you have any other issue.

    Thanks

    Ajitesh

    Add comment
    10|10000 characters needed characters exceeded