Use the Nearby locations process component in a case type as a step in any of the stages. You can configure the base location for searching nearby cases, entities, or places either with the current location, or using a property reference.
Log in to Pega Government Platform as an administrator.
In the header of your workspace, click the Switch Studio menu, and then click App Studio.
In the navigation pane of App Studio, click Case types.
From the Case types column, click a case type, or click the New button to create a new case type.
In the Case life cycle section, click Stage, and then enter a name in the text box.
Hover over process, and then click.
Click the Select button.
In the Location details section, in the Source list, select Current location to configure the current location as the base location for searching nearby cases, entities, or places.
Alternatively, select By property reference, and then enter or select a property from the combo box.
Select the Enable nearby result selection check box to select the nearby search results for further processing in the next steps or stages.
In the Routing details area, select an operator:
- To route the assignment to the current operator, click Current operator.
- To specify a user or operator to whom you want to route this assignment, click Specific user, and then, in the User field, select a user or enter a property in the work class that supplies a specific operator ID at run time.
- To route the assignment to a specific work queue, click Work queue, and then, in the Queue field, select a work queue name or enter a property in the work class that supplies a specific work queue at run time.
To show a list of selected nearby places, click the Views tab, and then click Create new view.
In the Search box, enter Selected nearby places, and then click the Add to view icon.
To show a list of selected nearby cases or entities, Views tab, and then click Create new view.
In the Search box, enter Selected nearby cases and entities, and then click the Add to view icon.