I’ve created a Web Service Connector for GLPi and wants to use it to create tickets for some request (badge, workstation, manual access request…)
I was not able to use the ITSM integration in SailPoint ISC as GLPi authentication is custom.
To have those different types of ticket, I needed to create a Before Operation Rule.
I need to access the comment field filled during the access request in the rule but was not able to do so even though I tried:
provisioningPlan.getComments()
accountRequest.getComments()
accountRequest.getArguments()
But nothing provided me with this comment field. Have anyone faced the same situation and which solution were the best?
Another point, I’m attaching this rule to Add Entitlement operation
I am fetching comments in our ITSM-integration using this logic:
#foreach($req in $plan.requests)
#if($req.arguments.comments)
#foreach($reqComment in $req.arguments.comments)
$reqComment
#end
#end
#if($req.items)
#foreach($item in $req.items)
#if($item.arguments.comments)
$item.arguments.comments
#end
#end
#end
#end
Maybe it can be helpful for you!
You can also try to send the entire provisioning plan and check if the VA’s give you some signs on what the comment operation syntax is (requires VA connector though)