0

I am new to workflows.I have a requirement where I want to copy the Caller demographic fields to the patient fields when the agent checks the checkbox.

2
  • Are those fields on the same Object? – Dan Dec 17 '15 at 17:26
  • yes they are on the same object – kunal gupta Dec 17 '15 at 17:29
0

Create a workflow rule

enter image description here

set your rule criteria if your checkbox to true

Workflow Actions

Create a field update

enter image description here

now select field to update (i.e. patient )

enter image description here

in formula click on field button and add demographic field and click done

2
  • Thanks Ratan,if there are 4 fields of patient would I have to write seperately each workflow – kunal gupta Dec 17 '15 at 17:50
  • yes @kunalgupta – Ratan Paul Dec 17 '15 at 17:52
0

The fields you've mentioned either need to be on the same object, or a related object in order for this to be accomplished via a workflow.

Create a workflow rule on the object the checkbox is located on.

For the Evaluation Criteria: Select "created, and any time it's edited to subsequently meet criteria"

For Rule Criteria: Select the checkbox field, set the operator to EQUALS, and the value to TRUE.

On the Specify Workflow Actions Page, click Add Workflow Action - New Field Update. Select the patient field as the Field To Update.

On the Field Update Edit page, select Use a formula to set the new value.

In the formula editor, select insert field, and select the caller demographic field.

0

You would create a Workflow Rule with Field Updates. (Using non Lightning UI)

Click Setup
Under Build go to Create
Then Select Workflow & Approvals
Then Workflow Rules

Click New Rules
Select the Object they live on
Give it a Name and Description
Select for Evaluation Criteria of Created and any time its edited to subsequently meet criteria Set the Rule Criteira to Field Checkbox Equals True

Click Save & Next
Click Add Workflow Action (You'll do this for every field update you'll want updated)
Select Field Update
Give it a Name and Description
Select the field you want to update
Click Next
Click on Use a Formula to set the new Value
Then click show Formula Editor
Click the Insert Field button and find the field you want to copy over
Click Save

Once active this should accomplish your needs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.