SecurID® Governance & Lifecycle Blog

Subscribe to the official SecurID Governance & Lifecycle community blog for information about new product features, industry insights, best practices, and more.

RemedyForce Fulfillment via request : Workflow + AFX

MichaelBluteau
Employee
Employee
1 0 289

This post contains a workflow that can be imported into RSA Governance and Lifecycle and some instruction on how to use it to generate requests in RemedyForce (hosted version of Remedy running on Salesforce.com platform) for fulfillment.

 

Disclaimer:  This is NOT yet supported by RSA and should be used only for demonstration or test purposes.

 

Extend the schema for tracking attributes:

pastedImage_7.png

 

Import AFX Connector for RemedyForce (required since workflow REST node does not support JSON yet):

pastedImage_4.png

I use Lock/Unlock Account capabilities, see curl scripts for both capabilities below.

 

Import Workflow for RemedyForce fulfillment:

pastedImage_2.png

N.B. You need to change url and credentials in SOAP and AFX nodes.

 

Once you imported the EDC collector, create a few local entitlements manually(must match items in RemedyForce):

pastedImage_3.png

Alternatively, you could use a EDC collector against RemedyForce or a csv extract.

 

Create curl subdirectory on L&G server:  /home/oracle/curl

 

Now you can request a RemedyForce catalog item

pastedImage_5.png

The workflow is retrieving unique identifier(stored in custom Change Request Attribute sys_id) to track status.

pastedImage_6.png

pastedImage_0.png

Request in RemedyForce

-----------

Lock an Account:

curl -k -D-  -X POST --data "{

  \"Fields\": [

    {

      \"Name\": \"requestDefinitionId\",

      \"Value\": \"a3H360000004OdTEAU\"

    },

        {

      \"Name\": \"quantity\",

      \"Value\": \"1\"

    },

        {

      \"Name\": \"requestedFor\",

      \"Value\": \"Charlotte Harris\"

    },

        {

      \"Name\": \"dateRequired\",

      \"Value\": \"2016-04-15 12:00:00\"

    },

        {

      \"Name\": \"phone\",

      \"Value\": \"iPhone 4\"

    },

        {

      \"Name\": \"requestForUsername\",

      \"Value\": \"charlotte.harris.7zzxlhjudiif.wwm7btwlxdgz.zqdkwziw1tst@bmcremedyforce.com\"

    }

  ],

  \"Answers\": [

        {

      \"QuestionId\": \"a3D36000000CqTlEAK\",

      \"Values\": [ \"Please revoke ${Entitlement} from ${User} (Via Change Request ID: ${ChangeRequestID} )\" ]

    },

    {

      \"QuestionId\": \"a3D36000000CqTiEAK\",

      \"Values\": [ \"${Entitlement}\" ]

    }

  ]

}" -H "Content-Type: application/json" -H "Authorization:Bearer ${Account}" https://na30.salesforce.com/services/apexrest/BMCServiceDesk/1.0/ServiceRequest > /home/oracle/curl/RemedyForce.txt

 

------------------

Unlock an Account:

curl -k -D-  -X POST --data "{

  \"Fields\": [

    {

      \"Name\": \"requestDefinitionId\",

      \"Value\": \"a3H360000004OdTEAU\"

    },

        {

      \"Name\": \"quantity\",

      \"Value\": \"1\"

    },

        {

      \"Name\": \"requestedFor\",

      \"Value\": \"Charlotte Harris\"

    },

        {

      \"Name\": \"dateRequired\",

      \"Value\": \"2016-04-15 12:00:00\"

    },

        {

      \"Name\": \"phone\",

      \"Value\": \"iPhone 4\"

    },

        {

      \"Name\": \"requestForUsername\",

      \"Value\": \"charlotte.harris.7zzxlhjudiif.wwm7btwlxdgz.zqdkwziw1tst@bmcremedyforce.com\"

    }

  ],

  \"Answers\": [

        {

      \"QuestionId\": \"a3D36000000CqTlEAK\",

      \"Values\": [ \"Please deliver ${Entitlement} to ${User} (Via Change Request ID: ${ChangeRequestID} )\" ]

    },

    {

      \"QuestionId\": \"a3D36000000CqTiEAK\",

      \"Values\": [ \"${Entitlement}\" ]

    }

  ]

}" -H "Content-Type: application/json" -H "Authorization:Bearer ${Account}" https://na30.salesforce.com/services/apexrest/BMCServiceDesk/1.0/ServiceRequest > /home/oracle/curl/RemedyForce.txt