I'm trying to require agents define the "Requested For" user which is not required for customers on the portal unless they select they are submitting for another user.
I've looked through the forum history, tried Gemini and Copilot, and haven't been able find anything that meets all conditions.
- Requested For (User Picker) is required for agents
- Requested For (User Picker) is required for customers IF Requesting For = For Someone Else
The only way I can think of to do this is to identify if a ticket was submitted through the JSM portal or the agent-view Create button on the Create transition of the workflow. If there are any other suggestions other than setting it required later in the workflow, I'm happy to take suggestions.