0

Control-M Integration - FORM_LOOKUP_ARRAY - How to trigger 2 forms

In the https://github.com/xmatters/xm-labs-control-m-9 it shows 1.6.1 Configuring the FORM_LOOKUP_ARRAY.  We did that and it worked fine until I decided we needed another form.  I would like to trigger 2 forms if the job status is ENDED NOT OK.  Here is how I configured the FORM_LOOKUP_ARRAY:

{

               "JOB ENDED NOT OK": "/api/integration/1/functions/8ed95d4a-2a58-4b29-995c-4bffa3922d34/triggers?apiKey=6612e456-4e68-4959-ba25-4bcad113fdd4",

               "JOB RUNS TOO LONG": "/api/integration/1/functions/02d520cf-e1b7-4d06-971a-c3a0dc9aff56/triggers?apiKey=9f081ac0-8edb-4a19-ac4e-48d23ab304e7",

               "JOB COMPLETED TOO FAST": "/api/integration/1/functions/c611b2c5-40f7-44ae-b408-266205a6c2cf/triggers?apiKey=f44678e7-0c1d-49e7-92a7-59c423d9203c",

               "ENDED NOT OK": "/api/integration/1/functions/8ed95d4a-2a58-4b29-995c-4bffa3922d34/triggers?apiKey=6612e456-4e68-4959-ba25-4bcad113fdd4",

               "ENDED NOT OK": "/api/integration/1/functions/3152d139-d3f6-48a8-a3a7-47369f1af386/triggers?apiKey=ed2ba950-2ce0-4827-bdde-45392b859419",

               "RUNS TOO LONG": "/api/integration/1/functions/02d520cf-e1b7-4d06-971a-c3a0dc9aff56/triggers?apiKey=9f081ac0-8edb-4a19-ac4e-48d23ab304e7",

               "COMPLETED TOO FAST": "/api/integration/1/functions/c611b2c5-40f7-44ae-b408-266205a6c2cf/triggers?apiKey=971dea9e-0a10-469c-8bdd-bbf1bf9cf917",

               "WAIT HOST": "/api/integration/1/functions/8ed95d4a-2a58-4b29-995c-4bffa3922d34/triggers?apiKey=6612e456-4e68-4959-ba25-4bcad113fdd4"

}

I am guessing it’s not triggering both forms if ENDED NOT OK because I didn’t code it right.  The form I added gets triggered but the original form does not get triggered.

9 comments

Please sign in to leave a comment.