*Please note that this solution should not be implemented in Active Roles 7.5.3 due to Product Defect 311021.
The following will allow running a workflow via a button directly on the Home page of the Web Interface.
First, JavaScript must be allowed to be used in links in the Web Interface. Perform the following steps to enable JavaScript:
- On the Web Interface host, navigate to the following folder:
- Active Roles 7.0 and 7.1: C:\Program Files\Dell\Active Roles\7.x\Web\Public
- Active Roles 7.2 and later: C:\Program Files\One Identity\Active Roles\7.x\Web\Public
- Open the file web.config file with any text editor
- Find the tag <appSettings> and under the tag, paste the following:
- <add key="AllowScriptProtocolInURL" value="true" />
- Save the file
- Perform an IISRESET
Once the above steps are completed, log into the Web Interface as an Active Roles Administrator and perform the following:
- On the Home page, click the Customize link in the top-right corner
- Click the Add... button to create a new item on the Home page
- Provide a name for the link item and then use the following syntax for the URL to open:
- Javascript:RunScheduledWorkflow('Handlers/RunScheduledWorkflow.ashx','',{height:470,width:560})
- Example: Javascript:RunScheduledWorkflow('Handlers/RunScheduledWorkflow.ashx','CN=New Distribution Group,CN=End Users,CN=Workflow,CN=Policies,CN=Configuration',{height:470,width:560})
- Click Advanced properties to expand it
- Deselect Open the URL in a frame
- Click OK
- Click Save
- Click the Reload link that appears at the top of the page