Using Prompt() in templates to request information when they are first used.

Version 1


    When building templates, you can use the Prompt() function to ask the user questions about the template.



    You will want to make sure you are matching the picklist of the base object if you use a different field or object.

    $(Prompt("Incident Owner", "DisplayName of Employee with LoginID value by Team"))

    This picklist has a constraint against OwnerTeam, so you would need to add a prompt for ownerteam, or hard-code the value, restricting the owner list to that team. In this example it is hard-coded.