Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
DEFAULT{
Action=SetVar;
VarName=AlternateFlowLabel;
VarValue="...";
|
Action=SetResult;
Result=parent : qa : WorkOrder.FSL__NewEvent
flow : Action_Test
default
custom : Asset Hierarchy : 0696A000005YLUL
flow : Mobile_Survey : %%AlternateFlowLabel%%
link : your_app_extension_name : useExternalBrowser
windows : https://www.microsoft.com : Microsoft Site
android : https://www.google.com : Google Site
iOS : https://www.apple.com : Apple Site
allPlatforms : https://www.luminixinc.com : Luminix Website
parent : windows : https://www.microsoft.com : Microsoft Site
parent : android : https://www.google.com : Google Site
parent : iOS : https://www.apple.com : Apple Site
parent : allPlatforms : https://www.luminixinc.com : Luminix Website
parent : flow : Test_Flow
parent : custom : Account Report : 069040000000pLRAAY : param1=value1&param2=other+value+with%20spaces
}

Each row defines an entry or set of entries that we would like to have displayed in the lightning bolt menu for a particular object type. As mentioned above, these entries are limited to the set of entries that Salesforce considers accessible to a given object.

...

  • default – The default option will insert all lightning bolt menu items that would appear normally had you not used this setting. This provides a way to modify the default list without reconstructing all the elements as well as use the default list as a fail safe in your PSL code. When used with other qa, flow, or parent entries you may have duplicate items in your resulting Lightning Bolt menu.

  • qa – The qa option will insert a single quick action defined on the primary object context. The value following the colon is the quickActionName which determines the quick action that will be displayed. If the quick action is invalid for that context, no lightning bolt menu item will be displayed for this entry.

  • flow – The flow option will insert a single flow defined on the primary object context. This behaves exactly as the qa option defined above. Flows are defined by the launchValue by placing it after a colon in the entry. The optional 3rd parameter, if defined, will be used as the menu item label value.

  • parent – The parent option will insert a single quick action defined on the parent of the primary object context. The value following the colon in the entry determines if we want to display a quick action (qa) or flow (flow), or, in 13.0+, link (link, iOS, android, windows, or allplatforms - in 13.0+) or custom document (custom). The parent option simply precedes the normal syntax for the item type (see the example above). If the quick action is invalid for that parent context, no lightning bolt menu item will be displayed for this entry.

  • parent_cc – The parent_cc option is similar to the parent option described above in that it places the action within the parent group, but it runs with the child object context. Currently, this option is only available for modifying custom actions.

  • custom – The custom option will insert a link to launch a custom document. The first value after the colon is the label you wish to display on the lightning bolt menu. The second value is the ContentDocument Id. Optionally, you may add URI query parameters as an additional item for any custom document (e.g. key=value&param=text). See Account Report in the example above. Document query parameters are available as of Pulsar 15.0.

  • link – The link option will insert a link to launch a URI defined in Field Service Mobile Settings > App Extensions. The value after the colon is the App Extension Name you defined.

...