Calling an external URL from Maximo Automation scirpt to achieve this requirement.
Requirement was; To send SurveyMonkey's survey to the EndUser/Customer when the status of Service Request is Resolved.
3 things we needs for this excerise:
- Maximo Automation
- Zapier Webhook
- Survey Email in Survey Monkey
1. Design a survey in Survey Monkey, Create Collector as Email.
2. In Zapier make a Catch Hook, get the API and append any parameter as query string (&ownerid) etc.
3. In Zapier make an Action to connect with Survey Monkey and trigger Contact Send.
3. Call this URL (step 2) into Maximo Automation as below:
url = 'https://hooks.zapier.com/hooks/catch/xxxxxx/xxxxxx?ownerid=' + mbo.getString("ticketid") + '&email=abdulqadeer.el@gmail.com'
ZapUrl=URL(url)
con=ZapUrl.openConnection()
con.setRequestMethod('POST')
con.setRequestProperty('Accept', 'application/json')
br=con.getInputStream()
hi i need an automation script to change the status automatically in the asset application when i create an workorder with particular type
ReplyDelete