cancel
Showing results for 
Search instead for 
Did you mean: 

How to read expression file and run pipeline

amit_saroha
New Contributor III

Hi All,

I have an expression file with the below details and I want to read these job names from the expression file and understand how I can trigger three different pipelines based on these three values?

{
Job_1: ‘EBS_JOB1’,
Job_2: ‘EBS_JOB2’,
Job_3: ‘EBS_JOB3’
}

5 REPLIES 5

As I see you are serching for elements in “HCM_Job” list that contains “HCM”.

Inside Mapper before Splitter put this expression.

lib.ExpressionFile[0].HCM_Job.filter(el => el.contains("HCM")

This expression will get only those elements that contains “HCM” inside.

After that inside Splitter you will map this filtered list.