Workflow that routes tasks to one of two groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 03:24 PM
Hi everyone
I am trying to create a workflow that will do the following:
On the portal there is an item called 'Provision new server'. There is no approval needed but users can choose between Linux or Windows.
When they select 'Linux' it should go to the 'BST-AIX Linux VMWare Storage Support' group.
When they select 'Windows' it should go to the 'BST-Microsoft Exchange Support' group.
I had no idea where to start with the workflow so I took an existing workflow as my base. Please don't laugh, at least I tried. I would appreciate any advice on this.
Regards
Thereza
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 04:15 PM
Hi @Thereza Van der ,
You can write if condition to check whether the user selected is linux or windows based upon the value you can create catalog task and assign to particular assignment group.
In If condition you can add the following code :
answer = ifScript();
function ifScript() {
if (current.variables.location=='accessories') { //change to your requirement like if linux was selected
return 'yes';
}
return 'no';
}
in catalog task you can add the group in the fulfillment group field.
If you got struck please let me know
Thanks and regards
Sai venkatesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 06:26 PM
Hi @Thereza Van der ,
The workflow pic you shared looks good to me and the IF condtion you might checking OS for UNIX/LINUX.
Attache this workflow with catalog item and test, let us know if its working for both OS and task is assigning to respective group.
Please share any other issue [ with screen shot ] you are observing with this workflow.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution