AnsweredAssumed Answered

How to trigger spel when lrel length changes

Question asked by Grant Bruneau Champion on Oct 11, 2016
Latest reply on Oct 11, 2016 by cdtj

Hi Community,

 

I've written a script that allows me to fire add an activity log with an associated pam workflow once a field is updated.  Currently, I'm trying to figure out how to fire this script when an associated lrel/brel length changes.  The attribute zcrnr is a brel which stores CIs attached to the incident.  I can display the length using, $args.zcrnr.length, but am not sure how to trigger my script when the length changes.  Any advice is appreciated!

 

Here's my mod file:

OBJECT cr { 
   TRIGGERS {
      POST_CI zCRProcessStakeholders(persistent_id) 10050
      FILTER( affected_resource {} || affected_service {} || zcrnr {} ) ;
   } ;
} ;

Outcomes