7 risposte
Alright! This is how your Flow would be =
- Variables to Create
- Label: conId
- Input/Output Type: Input and Output
- Type: Text
- Label: campId
- Input/Output Type: Input and Output
- Type: Text
- Label: conId
- Drag in a Record Create
- Object: CampaignMember
- Field to Set:
- ContactId <= conId
- CampaignId <= campId
- Note: I guess you might have to specify the Status field too(like Send / Responded etc)
- Save the Flow
Now, create a custom
Detail Page Buttonfor Contact -
- Setup | Customize | Contacts | Buttons, Links and Actions
- New Button or Link
- Display Type: Detail Page Button
- Behaviour: Open link in new window
- Content Source: URL
- URL:
/flow/NAME_OF_THE_FLOW?conId={!Contact.Id}&campId=701j0000001uYU0 - Add it to the Page Layout and you're done!
- Variables to Create