When working tickets on an initial contact, the worker may have to assign the ticket to him or herself for further investigation or they resolved the issue. Therefore, they would have to click on the Assign Incident button, type in their names, select themselves, and click OK. I added a copy of the current incident assignment button so when they click on it and it will use their Ensemble Security information and therefore, assign the incident to themselves.
1. In the Primary Model of the SD.Feeder.TechnicianForms workflow, modify the Web Form for "Create Incident"
2. Right click on the button for "Incident Assignments" and make a copy.
3. Paste the button on the same form (like under the current button)
4. Right click on the button you just created and click on edit.
5. On the appearance tab, change the text to "Assign Incident to Me"
6. On the User Interaction tab, click the ellipses on the forms model.
7. Remove the components with the Xs.
8. Connect the "Save Priority" (number 20) Embedded Model to "Map User Assignment" (number 6)
9. Connect the "Add to IncidentAssignments" (number 14) AddItemsToCollection component to the "Return to Parent" (number 7) TerminateWindowAndCloseDialog component.
The workflow should now look like this (after straightening and cleanup.)
10. Edit the "Map User Assignment" SingleValueMapping Component
11. Click on the ellipses next to the Mapping Definition
12. Remove any mappings to the current target assignments
13. Map the following source data to the AssignmentTargets (all the source data will come from EnsembleSecurityToken)
- Email to TargetName
- Name to DisplayName
- UserID to TargetID
14. Click ok to save the workflow.
15. On the Visual Mode tab, I changed the button to something different than the current icon. I used
- Image Source: Resource
- Resource Name: ".\altiris.png"
- Alternate Text: "ME"
16. On the settings tab, modify the description to "Assign Incident To Me"
17. Click OK to close the component
18. Click OK to close the Web Form Editor
19. Debug/Test, Save, and Publish.