Versions Compared

Key

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

...

Info

Important Tip: You may be tempted to write settings scoped to WorkOrder or WorkOrderLineItem. While these settings are permitted, you will not likely see them appear in Pulsar SFS as it is difficult to open a page with a primary object context of WorkOrder or WorkOrderLineItem. In most cases, Pulsar SFS will display a ServiceAppointment page when one exists for a given WorkOrder or WorkOrderLineItem. This is why the parent entry exists. It allows you to generically target the parent of the primary object context when selecting your quick actions or flows. Since we can’t know the parent object type ahead of time, you may want to write two entries to cover both cases if the quickActionName or launchValue is not the same for both parent contexts.

Filtering based on screens:

This change allows the admin to set restrictions on where inside of the Pulsar app the particular lightning bolt menu items will appear. One of the following three options may be pre-pended to any of the lines in the PSL SetResult action:

all - this is the default screen context- It is equivalent to the behavior when not explicitly specifying a screen context. (The lightning bolt menu item will appear in both Pulsar object detail screens and on screens within Pulsar SFS)

record - This specifies that the lightning bolt menu item should only display on Pulsar object detail screens (or the “Global” lightning bolt menu, if applicable).

fsl - This specifies that the lightning bolt menu item should only display on screens inside of Pulsar SFS (Overview and Service Appointment schedule screen lightning bolt menus)

The following is a modification to the setting described above:

Code Block
DEFAULT{
Action=SetVar;
VarName=AlternateFlowLabel;
VarValue="...";
|
Action=SetResult;
Result=fsl : parent : qa : WorkOrder.FSL__NewEvent
all : flow : Action_Test
fsl : default
custom : Asset Hierarchy : 0696A000005YLUL
flow : Mobile_Survey : %%AlternateFlowLabel%%
record : link : your_app_extension_name
}

This example, when scoped to a ServiceAppointment, has the following effects when the lightning bolt menu is opened:

  1. “NewEvent” Quick Action will display ONLY in the lightning bolt menu within Pulsar SFS

  2. “Action_Test” flow will display BOTH in the lightning bolt menu on the Pulsar ServiceAppointment detail page and within Pulsar SFS (specified explicitly here).

  3. The “default” set of QuickActions and Flows will display starting after the “Action_Test” item ONLY on the lightning bolt menu within Pulsar SFS

  4. “Asset Hierarchy” HTML item will display BOTH in the lightning bolt menu on the Pulsar ServiceAppointment detail page and within Pulsar SFS (default behavior- “all” is not explicitly specified)

  5. “Mobile_Survey” Flow will display BOTH in the lightning bolt menu on the Pulsar ServiceAppointment detail page and within Pulsar SFS (default behavior- “all” is not explicitly specified)

  6. The link specified in the app extension your_app_extension_name will appear ONLY in the lightning bolt menu on the Pulsar ServiceAppointment detail page.

Info

Please note that items are de-duplicated based on their order of appearance so that an item will not appear twice. The items listed in the setting after default may not show at the end if they already exist in the default set of lightning bolt items.