Table of Contents

Search

  1. Preface
  2. MDM and Embedded ActiveVOS
  3. Configuring Workflow Tasks and Triggers
  4. Running the Migration Script
  5. Frequently Asked Questions

Task Template Example for Merge

Task Template Example for Merge

You want the merge trigger to create tasks with a normal priority that are due one week after the task is triggered with a status of Open. The title of the tasks is "<business entity name>: <source record display name><source record row ID> merges to <target record display name><target record row ID>".
The following code shows the task template configuration for the example:
<taskTemplate name="MergeTaskGenerator"> <title>{taskRecord[0].label}: {taskRecord[1].displayName} {taskRecord[1].rowidObject} merges to {taskRecord[0].displayName} {taskRecord[0].rowidObject}</title> <priority>NORMAL</priority> <dueDate>+1w</dueDate> <comment>Merge task autogenerated by Hub.</comment> <status>OPEN</status> </taskTemplate>
Where:
  • taskRecord[1]
    is the source record
  • taskRecord[0]
    is the target record

0 COMMENTS

We’d like to hear from you!