Global Variables
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_variables_global.htm
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_variables_global.htm
In Flow, if the formula statement evaluates to true, the input is valid. If the formula statement evaluates to false, the error message is displayed to the user.
The CampaignMember object represents the relationship between a campaign and either a lead or a contact. For more details, browse the URL,https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_campaignmember.htm.
The CollaborationGroupFeed object represents a single feed item on a Chatter group feed. For more details, browse the URLhttps://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_collaborationgroupfeed.htm.
The CampaignMember object represents the relationship between a campaign and either a lead or a contact. For more details, browse the URL,https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_campaignmember.htm.
The CollaborationGroupFeed object represents a single feed item on a Chatter group feed. For more details, browse the URLhttps://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_collaborationgroupfeed.htm.
To set the finish location, or to redirect a user to a specific page after completing the Flow execution for a custom button/link, navigate to the custom button Create Lead that we have created in the preceding example and append the
retURL function into the button URL. For this scenario, append &retURL={!Campaign.Id} at the end of the URL. Finally, the Flow URL will look like this:/flow/Create_Leads?VarTCampaignID={!Campaign.Id}&retURL={!Campaign.Id}//Mandatory by Salesforce to run OnClick JavaScript
{!RequireScript("/soap/ajax/10.0/connection.js")}
if ({!Campaign.IsActive } == true)
{
window.open('/flow/Create_Leads?CampaignID=
{!Campaign.Id}&retURL={!Campaign.Id}');
}
else
{
alert('You are not authorized to create Leads for
Inactive Campaign');
}
If a system administrator embeds a Flow into the custom button or link, then to run a Flow, the user must have either the Run Flows system permission under profile, or the Force.com Flow User feature license selected in the user record.
Comments
Post a Comment