Hi, I'm Sergi Sacristán
I'm tring to do and shellScript to generate a Stage approval in ServiceDesk plus,
but I don't find away of do it
I have founded this example but don't work .
In service Desk plus I've put this in the trigger side:
cmd /c start /wait powershell.exe -WindowStyle Hidden -file D:\ManageEngine\ServiceDesk\integration\custom_scripts\script.ps1 "$ITEM"
My Script contain this code
$data = "{'operation': [{'INPUT_DATA': [{'StageOne': ['$approver']}], 'OPERATIONNAME': 'ADD_APPROVAL_STAGE'}], 'message': 'Approvals created', 'result': 'success'}"
return $data
Can someone say and example.
Where is the problem?
what is the correct call, method and operation?
PD: I have the last version available
thank you very much
Regards