The Jobstep EntityIfCase is a Boolean switch and evaluates the mapping function stored under the Expression property. If the result is true, the jobsteps associated with OnTrue are executed. If the function result is incorrect, the job steps associated with OnFalse are executed.
Properties | |
---|---|
Name | Description |
Type | Class name of the jobstep |
Name | Name for the jobstep that will appears in the job designer |
Description | Optional description for the jobstep |
XPath query | Here XPath functions can be specified, whose result returns true or false.\\\\If the result is true, the steps associated with OnTrue are executed.\\\\If the function result is false, the steps associated with OnFalse will be executed. |
//@Funktion='10' or //@Funktion='9010'
(//INVOIC/UNB/DG_S002/@DE_0004 = GetSystemPartnerVariable('EXCEPTION')) and (count(//INVOIC/SG_25) = 0)
boolean(//UNH/DG_S009[@DE_0052 = "D" and @DE_0054 = "96A"])
IsTrue(GetFrameVariable('IsSpecialCase'))
Note: The input from this job step are documents (EntityObjects) that have already passed through the Loader . Therefore, the XPATH expression is applied directly to the message structure.
Note: See also evaluation or filtering of messages in jobs