Setting up Work-Relay

Get your org ready

System Requirements

To install and successfully use Work-Relay, you must have one of the following versions of Salesforce.com:

  • Unlimited Edition
  • Enterprise Edition
  • Developer Edition
  • Professional Edition
  • Sandbox Edition

Work-Relay also works with the following:

  • Salesforce Customer Portal
  • Salesforce Partner Portal
  • Force.com Platform
  • Salesforce Communities

Select which org you want to install Work-Relay in.

If you don't have an org, go to salesforce.com and sign up for a 30-day free trial.

NOTE: Setting up Work-Relay requires Sys Admin authorization.

Initialize the Work-Relay environment in your org

1. Turn on Chatter

Turn on Chatter

2. Add this Remote Site URL

Add this Remote Site URL

Go to: Setup / Administer / Security Controls / Remote Site Settings

URL: https://stswr1.<Salesforce Server>.visual.force.com

NOTE: "na15" refers to the server Work-Relay is running on. It can vary from org to org.

3. Install the Work-Relay package

Install the Work-Relay package
  1. You need to have the latest Work-Relay package URL. This will be provided to you by Work-Relay.
  2. Click the URL.
  3. If you are not already logged in, you will be prompted to log in to your org.
  4. Follow the simple instructions that follow.

4. Enable Collapsible Sidebar

Enable Collapsible Sidebar

5. Configure Embedded Resizer

Configure Embedded Resizer

Configure Work-Relay UI Resizer to have the best user experience when you use Work-Relay on Salesforce Standard Pages.

6. Configure Non-Sys Admin Profiles

Make sure that all user profiles other than Sys Admin have access to all Work-Relay components including VF pages, Custom Objects and ALL their fields. Please note, you don’t need this step if you selected “Grant access to all users” option during installation.

7. Select objects for Work-Relay

Select objects for Work-Relay

Specify which Custom Objects you would like to be available Work-Relay flows.

  1. Select “Work-Relay” Application
  2. Open “Settings” tab
  3. Add custom objects you want to be available for Work-Relay and click “Save”

8. Turn On “Workflow basic scheduler” in Settings

Turn On “Workflow basic scheduler” in Settings

9. Specify Email Contact

This is needed for the "Send Email" action when you want to use a standard Salesforce email template in it.

The reason for this is that in order to send an email from Apex code using a Salesforce email template and you want to pass a record as context to that template - you must send an email to a Contact (standard Salesforce object). That's why you need to specify the helper Contact on the WR Settings page.

So technically it works as below:

1. In your organization you create a dummy Contact record with some email like "[email protected]".

2. Then you register that Contact on the WR Settings page.

3. Every time when WR sends an email using a Salesforce email template, that email is sent to a Contact specified on the Setting page (which allows us to pass a flow context record to a template). The real email addresses to whom you want to send the emails are provided in a separate apex method. I.e. if you want to send an email alert to "[email protected]" then in the end it will be sent to two addresses "[email protected];[email protected]".

10. Open Work Relay

Open Work Relay

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.