Posts

Showing posts from November, 2024

Launch a dialog and enable end user select assignee on workflow route

Image
  Scenario : End user should be able to select the assignee from a group on workflow route and assignment needs to be created for the selected person on the run. Solution : Launching a dialog on workflow route, to provide a field with a lookup of the person group, so user could select the assignee.  Steps to follow: 1. Create a non-persistent attribute ex: PO.ABGROUPASSIGNEE to be same as PERSON.PERSONID. 2. Create a dialog in the PO.xml as below:     <dialog id=" abcgroupassignee " label="ABC Group Asignee">         <section id="1528394091">             <textbox dataattribute="ABGROUPASSIGNEE" id="1528394092" lookup=" ABGROUPASSIGNEE "/>         </section>         <buttongroup id="abcgroupassignee_buttongrp">             <pushbutton default="true" id="1528394093" label="OK" mxevent="dialogok"/>     ...