How-to Workshop Workflow

To create a workflow navigate to File, New Workflow

Define the "In-Arguments" that are needed, e.g. CoreIdentityId:

 

Ex. GetDirVorMailActivity:

Drag and drop the corresponding function and fill in the properties, create any required variables in the "Variables" tab (note the scope of the variables).

 

Ex. Create workflow at CoreIdentity (REGA):

  1. Load mail template in string (template stored in GIT customer folder)

     

  2. Get context parameters (GetContextParameters) and capture the corresponding "in-" and "out-arguments", incl. the required variables

     

  3. Get Template Data Contract for Core Identities (GetTemplateDataContract), contains the Employments

     

  4. Variable box (VB.Net syntax):

     

  5. Insert Decision (set condition with LINQ statements, also VB.net syntax)

     

  6. Load template (incl. create required variables) (LoadUTF8TemplateActivity)

     

  7. Process Template (XsltTemplateProcessorActivity)

     

  8. Create CombinedDataContract

     

  9. Customize template according to customer specification (copy from existing customer, put into GIT current customer folder and check in there)

     

  10. Adjust HtmlPersonAttribute.part according to customer requirements is used in the template, see point 9)

     

  11. Send Mail (SendMailActivity)

     

  12. For debugging purposes, TryCatch blocks can be used, which output log messages so that the workflow can be tested.






 

© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.