CRMJettyBack to crmjetty.comContact us
Menu
Docs / Guides

CRMJetty Portal

Works with
Docs / Dynamics 365

Dynamics 365 Customer Portalv6.3.0

Docs / Salesforce

Salesforce Customer Portalv6.3.0

Docs / Business Central

Business Central Portal

Guides / Workflows

How to Apply Workflows to Portal Widgets

5 min readUpdated
Short answerIn Design → Page Builder, open the page in edit mode and select the Settings icon on the widget. Under the workflow settings, select a Data Loading Workflow and, where available, an Update Assign Rights Workflow. Select Save and publish the page.

A workflow does nothing until you select it in a widget. Each widget that shows CRM records has its own workflow setting, so the same records can be filtered on one page and shown in full on another. This article shows where the setting is in each widget.

There are two kinds of workflow:

Before you start

Which widgets support which workflow

Widget Load Data Update Assigned Rights Setting names
List Yes Yes Workflow Setting: Data loading Workflow, Update Assign Rights Workflow
Data Card Yes Yes Workflow Setting: Data Loading Workflow, Update Assign Rights Workflow
Recent Activity Yes Yes Enable Workflow Settings: Data Loading Workflow, Update Assign Rights workflow
Sub-Grid (in a form) Yes Yes Workflow Setting: Data loading Workflow, Update Assign Rights Workflow
Counter Yes No Workflow Setting: Data Loading Workflow
Chart Yes No Workflow Setting: Data Loading Workflow
Knowledge Base Yes No Enable Workflow, then Select Workflow
Case Deflection Yes No Enable Workflow, then Select Workflow
Custom widget Yes No Enable Workflow: Select Data Loading Workflow

The Counter and Chart widgets you add inside a form also have Select Data Loading Workflow.

Apply a workflow to a widget

  1. Go to Design → Page Builder.
  2. Open the page in edit mode.
  3. Select the Settings icon on the widget.
  4. Find the workflow settings. In the Knowledge Base, Case Deflection and custom widgets, turn on Enable Workflow first.
  5. Select the Load Data workflow in Data Loading Workflow (or Select Workflow).
  6. Where available, select the rights workflow in Update Assign Rights Workflow.
  7. Select Save.
  8. Publish the page.
List widget settings with Workflow Setting showing the Data loading Workflow and Update Assign Rights Workflow drop-downs
List widget settings with Workflow Setting showing the Data loading Workflow and Update Assign Rights Workflow drop-downs
List widget settings with Workflow Setting showing the Data loading Workflow and Update Assign Rights Workflow drop-downs
List widget settings with Workflow Setting showing the Data loading Workflow and Update Assign Rights Workflow drop-downs

Select one workflow of each type per widget. A workflow applies only to portal users with the roles selected in it.

Tip: Apply the same Load Data workflow to every widget that shows the entity on a page. Otherwise a counter or chart can show totals for records the list hides.

Apply a workflow to a lookup field

In the list builder and the form builder, a lookup field can use a Load Data workflow to limit the related records it offers.

Where When the setting appears
List builder (Design → Lists) The field is a lookup and Enable for Filter is selected.
Form builder The field is a lookup, in an Add or Edit form.
  1. Select the Settings icon on the lookup field.
  2. Select Workflow Setting.
  3. In Data Load, select the workflow. Only workflows with the Load Data action type for the field’s target entity are listed.
  4. To create a workflow, select +. The Add Workflow page opens with the entity already selected.
  5. Select Save.
Lookup field configuration with Workflow Setting open and the Data Load drop-down
Lookup field configuration with Workflow Setting open and the Data Load drop-down
Lookup field configuration with Workflow Setting open and the Data Load drop-down
Lookup field configuration with Workflow Setting open and the Data Load drop-down

For list filters, see How to Add Filters to Portal List Views.

Troubleshooting

The workflow is missing from the drop-down: The workflow is for a different entity or action type. Counters, charts, knowledge base and case deflection list only Load Data workflows. Check the workflow in Workflow Management.

The widget still shows all records: Check that you saved the widget and published the page, and that the portal user has one of the roles selected in the workflow.

A counter shows a different number than the list: The counter and the list use different workflows, or only one of them has a workflow. Select the same Load Data workflow in both.

Did this solve it?No, contact support