Sunset Date / Expiration Date for ITSM-integration Generic SDIM

Hey Team,

I’m integrating the customer’s ITSM-system with SailPoint using Generic SDIM.

I have managed to fetch comments from an access request using the following velocity code:

#set($requests = $plan.requests) 
  #foreach($request in $requests) 
    #foreach($item in $request.items) 
      #if($item.arguments) 
        #foreach($arg in $item.arguments) 
          $arg
        #end 
      #end 
    #end 
#end

Output: {comments=awdawdawd}

However, I am not seeing any object for the expiration date that I have set in the request.

Is it possible to fetch the Sunset Date / Expiration Date for an access request in the request passed via the Generic SDIM integration?

Thankful for all help!

All the best,
Seb

The model also includes arguments on the plan ($plan.arguments) and on the request ($request.arguments). You can use $plan.toJson() to output the entire plan object for troubleshooting, which includes all arguments at the plan/request/item level.

It did not include the sunset date in my testing, though.