Skip to main content Skip to complementary content

Defining a Job execution trigger

Follow the steps below to add and configure the tLoop component to the Job script, to trigger the execution of the Job.

Procedure

  1. Create a new Job script, enter an addComponent {} function, and inside this function, enter the setComponentDefinition {} function and its parameters to add the tLoop component:
    addComponent {
    	setComponentDefinition {
    		TYPE: "tLoop",
    		NAME: "tLoop_1",
    		POSITION: 256, 192
    	}
    }
  2. Next to the setComponentDefinition {} function, enter the setSettings {} function to define a loop.

    In this example, a FOR loop is defined to trigger the Job execution 3 times.

    	setSettings {
    		FORLOOP : "true",
    		FROM : "1",
    		TO : "3",
    		STEP : "1",
    		INCREASE : "true"
    	}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!