RapidIdentity Product Guide

Workflow Actions

Get the ID of entitlement based on its name.

Property

Value

Description

connection*

expression, variable

the Portal connection definition

entitlementName*

text, expression, variable

the name of the entitlement

returnVariable

expression, variable

name of the variable to be assigned to the return value

Example

nameOfEntitlement = "LabMonitor"
entitlementID = getPortalEntitlementId(connection, nameOfEntitlement)

Start a Portal workflow, returning the workflow request ID.

Property

Value

Description

connection*

expression, variable

the Portal connection definition

type*

choice (GRANT, REVOKE), text, expression, variable

the workflow type

recipientId*

text, expression, variable

the idautoID of the workflow recipient

entitlementId*

text, expression, variable

the ID of the workflow entitlement

comments

text, expression, variable

optional workflow comments

previousRequestId

text, expression, variable

the ID of the workflow request that granted the entitlement to be revoked (required for REVOKE of a multi-bound entitlement)

formData

expression, variable

optional Record or object containing form data

returnVariable

expression, variable

name of the variable to be assigned to the return value

Example

nameOfEntitlement = "LabMonitor"
entitlementId = getPortalEntitlementID(connection, 
    nameOfEntitlement)
workFlowStarted = startPortalWorkflow(connection, "GRANT", 
    "cn=testuser1,OU=People,DC=test,DC=idauto,DC=lab", entitlementId, 
    "Start the LabMonitor Workflow")