Within Workflow Agent you need to configure connectivity to Workfront and Curator. This requires information from both systems and is done within three configuration nodes as described below.
Pre-requisites:
Workflow Agent - see Workflow Agent Installation Guide
-
Workfront system
-
Create a new user
Name: Node Red
Access level: System Administrator
-
Email address: node-red@[Insert preferred subdomain].workfront
Example: node-red@ipv.workfront
Log in as this user to get their API Key.
-
Importing “Workfront Integration” Flows:
The Workfront integration flows "WA - Workfront Production Integration.json" file is available from IPV for installation on licensed customer systems.
-
Import the flows-ensemble-only.json file into the Workflow Agent
Alternatively: paste the contents of the file into the import text box
Select the “View Nodes” option when prompted with “Some of the nodes you are importing already exist in your workspace”
Make sure that only the “Workfront Integration“ is selected under the Flows tab
Select “Import Selected“
Configure Environment Variables for “Workfront Integration“ Flows:
-
Open the newly imported “Workfront Integration” flow tab:
-
Navigate to the bottom section titled “WORKFRONT CONFIGURATION SECTION“
-
-
Open the first Inject node titled “CONFIGURE ENV VARIABLES & START CONFIG“:
-
An example of populated env variables can be seen below:
-
msg.workfront.url
is the base url of the Workfront application, ensure there is no slash at the end of the URL e.g https://example.workfront.com
-
msg.workfront.apiKey
is the api key of the “Node Red” admin user
-
found on [base url]/setup/customer-info (if not present select Generate API Key), where base url is configured above.
-
msg.workfront.username
is the username/email address of the “Node Red” admin user
-
msg.workfront.password
is the password of the “Node Red” admin user
-
msg.curator.url
is the base url of Curator Gateway API, ensure there is no slash at the end of the URL e.g. https://example.curator.server/CuratrorGateway
-
msg.curator.clientID
-
is the client id of Workflow Agent in Curator’s Clients section
-
-
msg.curator.clientSecret
-
is the client secret of Workflow Agent in Curator’s Clients section
-
-
-
Open the second Inject node:
-
An example of populated env variables can be seen below:
-
msg.payload.emailAddr
-
is the email address of the user we want to associate with the Curator instance
-
By specifying the Workfront user:
we are able to limit who has the ability to trigger a production in curator
we are able to use the same Workfront environment for multiple Curator environments
-
-
-
-
Open the third Inject node:
-
Example of populated env variables:
-
msg.webhook.url
is the base url of the EC2 instance hosting the Workflow Agent (Node-Red), ensure there is no slash at the end of the URL
-
msg.webhook.taskName
is the name of the task that will trigger the event subscription API to send a call to the Workflow Agent.
-
if using the template of tasks provided as an example, the parent task name is required
-
-
Run configuration flows
open the debug window
trigger the first inject node
wait for success messages in debug window
trigger the second inject node
wait for success message in debug window
trigger the third and final inject node
wait for success message in debug window
-
NOTE: if at any step you receive a failure message:
confirm the variables configured in the relevant node
if failure persists, ask for help
-
Additional notes:
step f. may fail if this step was completed successfully in a previous run so additional attempts won't create new subscriptions in Workfront (this manifests as a '409 Conflict' response)
Configuration is now complete!