Um einen Workflow zu erstellen navigiere zu To create a workflow navigate to File, New Workflow
...
Definiere die “In-Arguments” die benötigt werden, BspDefine the "In-Arguments" that are needed, e.g. CoreIdentityId:
...
Erstelle einen Flowchart (Screenshot missing)
...
Ex. GetDirVorMailActivity:
Entsprechende Funktion per Drag and Drop hereinziehen und Properties abfüllen, allfällig benötigte Variablen im Tab “Variables” erstellen (Scope der Variablen beachtenDrag and drop the corresponding function and fill in the properties, create any required variables in the "Variables" tab (note the scope of the variables).
...
Bsp. Workflow bei CoreIdentity erstellen:
...
Ex. Create workflow at CoreIdentity (REGA):
Load mail template in string (template stored in GIT customer folder)
Context
Parameter abholen Get context parameters (GetContextParameters) und die entsprechenden “In-” und “Out-Arguments” erfassen, inkl. der benötigten Variablen
Template Data Contract für Employments abholen (GetTemplateDataContract)and capture the corresponding "in-" and "out-arguments", incl. the required variables
Get Template Data Contract for Core Identities (GetTemplateDataContract), contains the Employments
Variable casten box (VB.Net Syntax syntax):
Insert Decision einfügen (mit LINQ-Statements Condition setzten, ebenfalls set condition with LINQ statements, also VB.net Syntax syntax)
Template laden Load template (inkl. benötigte Variablen erstellenincl. create required variables) (LoadUTF8TemplateActivity)
Process Template verarbeiten (XsltTemplateProcessorActivity)
Create CombinedDataContract erstellen
Template gemäss Kundenvorgabe anpassen
Customize template according to customer specification (copy from existing customer, put into GIT current customer folder and check in there)
Adjust HtmlPersonAttribute.part according to customer requirements is used in the template, see point 9)
Send Mail (SendMailActivity)
For debugging purposes, TryCatch blocks can be used, which output log messages so that the workflow can be tested.