Servicedesk BP Rule update

Hi Everyone

I am working on a SAAS based connector integration, and I want to generate tickets upon revocation of access in access reviews, The issue is I want to display the name of the entitlements instead of the value in the ticket description, so we have added an extra snippet of code to the servicedesk BP rule to fetch the name, How can I call that attribute in the description in VTL, I did try $plan.arguments.workdaysecgroups, but that was giving me the same literal string in the ticket description, can someone help me how can I call that attribute in order to print the entitlement names

Thank you

Hey @PoojithaMadala,

I am confused on the implementation and ask here. Could you please clarify these things?

  1. You said you have added the code in the Before Provisioning rule. In that rule you must be getting the ProvisioningPlan XML.
  • Couldn’t you use that to fetch the displayName of the access?
  • Why the need to use VTL?
  1. You tried using $plan.arguments.workdaysecgroups, but I believe you want the display name of the access, that information should be available under AttributeRequest(ProvisioningPlan → AccountRequest → AttributeRequest), right? What am I missing here?

Hey @zeel_sinojia

  1. You said you have added the code in the Before Provisioning rule. In that rule you must be getting the ProvisioningPlan XML.- Yes
  • Couldn’t you use that to fetch the displayName of the access?-Yes, we wrote that logic in BP Rule
  • Why the need to use VTL?-Inorder to print the name of the entitlement in the ticket description, we want to add that attribute in VTL in servicedesk configuration.
  1. You tried using $plan.arguments.workdaysecgroups, but I believe you want the display name of the access, that information should be available under AttributeRequest(ProvisioningPlan → AccountRequest → AttributeRequest), right? What am I missing here?-In Attribute request, value is displaying in tickets that are generated through servicedesk.but not the displayname, We have added displayname as an argument in Account Request.

arguments.put("workdaySecurityGroups", workdaySecGroup);