eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


Sidebar

en:prozessdefinition:jobs:jobsteps:allgemein:entityifcase



EntityIfCase

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.

GENERATED src=“eBiss.ClassLib.Resources.JobSteps.EntityIfCase” changed=““
Properties
NameDescription
TypeClass name of the jobstep
NameName for the jobstep that will appears in the job designer
DescriptionOptional description for the jobstep
XPath queryHere 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.

Examples

  • Messages Content evaluation:
    //@Funktion='10' or //@Funktion='9010'
  • Entities of the type INVOIC whose sender GLN is stored in the EXCEPTION variable instance with the system partner and which do not have any items.
    (//INVOIC/UNB/DG_S002/@DE_0004 = GetSystemPartnerVariable('EXCEPTION')) and (count(//INVOIC/SG_25) = 0)
  • check if the document matches the criteria
    boolean(//UNH/DG_S009[@DE_0052 = "D" and @DE_0054 = "96A"])
  • Check of a frame variable, e.g. set in the mapping with “SetTargetFrameVariable('IsSpecialCase', 'True')”:
     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

The following JobSteps are usually connected to the EntityIfCase

en/prozessdefinition/jobs/jobsteps/allgemein/entityifcase.txt · Last modified: 2024/02/20 08:15 by 127.0.0.1