When the user is onboarded and offboarded, create a SNOW ticket and provision to the connected application simultaneously.
I tried creating it from ServiceDesk integration, but it only creates SNOW tickets and does not make provisions for connected applications.
I started doing the workflow as per the link below. But each source has a separate CatalogItem to create a ServiceNow ticket to that Catalog Item, as shown in the screenshot below (screenshot from ServiceDesk integration), and how and where to map the IDN Source and catalog Item in the workflow and where to add the fields to populate requested by, additionalInfo and requester for and CostCenter (screenshot from ServiceDesk integration)
These values can be added as key:value pairs in the Additional Fields section of Manage Service Now ticket action.
Example:
assignment_group:Hardware
due_date:{{$.defineVariable1.dueDate}}
comments:New Ticket for provisioning user Hardware
In this blog I’ve demonstrated created incidents/requests using table API. But i believe you are trying to create a ticket using catalog item and the API for that might be different. You can modify the Service Now endpoint URL based on the documentation here and pass the catalog item to it.
@mcheek Do you know which API to be used in this case?
Is there a place where we can specify that the ServiceNow ticket needs to be generated when the user is onboarded based on the birthright role?
For example - the below list of sources have brithright role when the user is onboarded. Only AD2, Azure, and Webservice Connector1 related SNOW tickets must be generated.
You will have to use a suitable trigger for this. You can try using Provisioning completed and look out for the role you need to be provisioned before you trigger the ticket action.
After provisioning completed I am able to create the SNOW ticket, not able to populate title,lastname and Username into SNOW, In the get identity step in workflow I can see the list of all attribute of the identity.
There is no problem with the get identity action or data available in it, i am guessing its because of way we pass variables to the http action. The variable is not escaped and so it is not getting substituted and comes in as string.
Give this a try:
“additional_info”: “Below is the application detials Title {{$.getIdentity.attributes.title}} lastname {{$.getIdentity.attributes.lastname}} Username {{$.getIdentity.attributes.displayName}}”,
“additional_info”: “Below is the application detials Title {{$.getIdentity.attributes.title}} lastname {{$.getIdentity.attributes.lastname}} Username {{$.getIdentity.attributes.displayName}}”,
I have last question when I try to add below condition it is not creating snow ticket these two sources workday and Active Directory upon provisioning completion. When I add single source it works fine. Is my condition is correct for multiple sources.