SDIM Velocity testing methods and info request

Hello,

I am looking for documentation or methods to discover data sent to SDIM. Not only to fill a request but explore other items that may improve our SNOW tickets that are created by the SDIM.

The current ask is to include the requestedFor name in the description and short description.

I am not familiar with Velocity and we are currently using what our implementation team configured. I have not started testing, but think the best way to see what is being sent is to just add $Request and $Plan to the description field in the SDIM configuration and submit a request to try and identify what data is available.

Is there an easier way to test this?

Is there more than $Request and $Plan being sent? maybe better stated. . . Other variables I can catch to get data other than $Request and $Plan?

1 Like

Hi Tyler,

Perhaps a bit late but here’s a link from the community portal:

You can use the following script and test out various events to see what data is passed along with each event.
$request.id
#foreach($argument in $plan.arguments) $argument.name: $argument
#end
#foreach($request in $plan.requests) $newline
Request Resource: $request.resource; Request Operation $request.operation $newline
#foreach($item in $request.items)
Name: $item.name; Operation: $item.Operation; Value: $item.value
#end
#end

Something I haven’t figured out yet is to use the plan.arguments.name…

It is a good start to fill in some gaps. I will review the provide link more in-depth. Thank you.