and more in a single search tool across platforms. Read the announcement here. |
08/25/2023 01:22 AM
Hi,
We have below requirement.
1. Provision service desk application on account user creation but not to create snow ticket
2. create snow ticket on user disabl
So we have made application as birthright account but we dont want to call craeteticket JSON, we want to call this json on disable account
Is there any way to achieve this in service desk application.
08/28/2023 02:37 PM
Hello @saurabhpad ,
I am checking on it, will keep you posted with the updates.
Thanks
08/28/2023 08:12 PM - edited 08/28/2023 08:13 PM
Call dummy URL on url condition
"url": "${requestAccessAttributes.addRemoveAlias==null?'https://<domain name>/admin/directory/v1/users/'+account.name:account.customproperty30.toString().contains(requestAccessAttributes.addRemoveAlias)?'https://<domain name>/admin/directory/v1/users/'+account.name+'/aliases/'+requestAccessAttributes.addRemoveAlias.trim():'https://<domain name>/admin/directory/v1/users/'+account.name+'/aliases'}",
Sample
10/20/2023 03:55 AM
@saurabhpad @rushikeshvartak @sudeshjaiswal , I have the Similar requirement is when Remove account task is generated, Servicenow ticket should not be generated.
@rushikeshvartak, we have tried your solution but we are not able to dynamically bind the ticketidpath as a result, in the task it is showing "ERROR in Getting ticket number" and the task will hang in the pending task list until we manually discontinue the task.
We have tried below code but it did not work out
10/20/2023 04:21 AM
don’t pass connections using if else
10/20/2023 05:16 AM
I have updated the Create ticket Json connection as below but still getting the same response
"connection": "${task.source == 'REQUEST' ? '' : 'userAuth'}",
:Error in getting Ticket Number. Response: null"
10/22/2023 06:56 PM
"connection": "${task?.source?.equalsIgnoreCase('REQUEST')?'':'userAuth'}"
11/06/2023 05:23 AM
Hi @rushikeshvartak , above code did not work, it still creating a task and with the same provisioning comments, "Error in getting ticket number"