2.2 Parallel processing

Ace your homework & exams now with Quizwiz!

An Order fulfillment process includes a request for quotes from multiple shippers. You want the system to automatically call a quote request subprocess for each vendor. How do you configure your process? * Add a Subprocess shape for the request subprocess and specify the Spinoff option. * Add a Split Join shape and run the request subprocess for each vendor on a page list. * Add a Split For Each step to the case life cycle and run the subprocess for each vendor on a page list. * Add a Split For Each shape and run the request subprocess for each vendor on a page list.

* Add a Split For Each shape and run the request subprocess for each vendor on a page list. The Split For Each shape runs a subprocess for each item on a page list.

In a Prepare job offer process, you configure a Split For Each shape. The shape runs a compensation approval subprocess to a list containing four managers. The prepare job offer process resumes as soon as one manager completes the approval process. Which join condition in the Split For Each shape supports this requirement? * A Some join condition * An Iterate join condition * An All join condition * An Any join condition

* An Any join condition This condition resumes the main flow when only one of the subprocesses completes.

How do you add the Split Join shape to your process?

* In the navigation pane of Dev Studio, click Case types, and then click the case type that you want to open. * In the Case life cycle section, in the process in which you want to add the Split Join shape, click Configure process. * On the toolbar, click Open process.On the Diagram tab, click the Flow Shapes icon, and then select Advanced Shapes > Split Join. * Connect the Split Join shape by dragging connector end points to connection points on different shapes in the process. Connectors that work correctly are green. * Open the dialog box by double-clicking the Split Join shape. Optionally, to provide a unique name for the shape, in the Split Join dialog box, in the Split Join field, enter a new name.

For the Split Join, for the Filter by flow field what is Process flow vs Screen flow?

* Process flow starts a subprocess that consists of a series of actions to complete. * Screen flow starts a subprocess that consists of a series of forms to complete.

For a Split Join shape, what are the Join List options?

* Resume processing after all subprocesses are complete * Resume processing after any of the subprocesses is complete * Resume processing after a when condition returns a true value * Resume processing after a specified number of subprocesses reach a certain status

When setting the context of a process, how do you configure the shape so the subprocess works on a current case?

* Select On current page

What actions are needed to configure a Split join so the subprocess works on an embedded page?

* Select On embedded page. * In the Page property field, enter a reference to the property of mode Page, Page List, or Page Group that holds the embedded page. * In the Class field, enter the class of the embedded page.

When setting the context of a process, how do you configure the shape so the subprocess works on an embedded page?

* Select On embedded page. * In the Page property field, enter a reference to the property of mode Page, Page List, or Page Group that holds the embedded page. * In the Class field, enter the class of the embedded page.

When setting the context of a process, how do you configure the shape so the subprocess works on a specific case?

* Select On specific work item. * In the Work property field, enter a property reference in the current work item that identifies the key of the subprocess work item. * In the Class field, enter the class of the subprocess work item. * Optional: To specify a clipboard page that holds the subprocess work item, in the Page name, enter the clipboard page name. Note, if the case is open as a page on the clipboard, you can leave the Work property field blank. If the case does not already have a page and you do not provide a page name, your application creates a page named pyNextObj, pyNextObj_1, and so on.

What actions are needed to configure a Split join so the subprocess works on a specific case?

* Select On specific work item. * In the Work property field, enter a property reference in the current work item that identifies the key of the subprocess work item. * In the Class field, enter the class of the subprocess work item. * Optional: To specify a clipboard page that holds the subprocess work item, in the Page name, enter the clipboard page name. Note, if the case is open as a page on the clipboard, you can leave the Work property field blank. If the case does not already have a page and you do not provide a page name, your application creates a page named pyNextObj, pyNextObj_1, and so on.

Which type of parallel processing shape do you use to start an interview process based on a list of employees who must separately interview a job candidate? * Subprocess shape * Subprocess shape with the spinoff option enabled * Split For Each shape * Split Join shape

* Split For Each shape A Split For Each shape allows you to iterate over a list of employees to start an interview process for each employee. The other options are wrong, since: A Split Join shape allows you to call multiple different, independent processes. The spinoff option in the Subprocess shape allows you to run the subprocess in parallel with the main flow. The subprocess shape without the Spinoff option enabled does not support parallel processing.

For the Split join, what are the options on the Subprocess tab, configure the context of the subprocess?

* The subprocess works on a current case * The subprocess works on a specific case * The subprocess works on an embedded page

When changing the context of a process, what are the 3 options in the Define flow field?

* The subprocess works on a current case * The subprocess works on a specific case * The subprocess works on an embedded page

When the workflow in your case is _____, you can use _____ to run one or more _____ in the same stage _____ to allow users to perform tasks independently to complete the work in the stage. * complex, post-processing, subprocesses, simultaneously * complex, parallel processing, subprocesses, simultaneously * complex, pre-processing, spinoffs, simultaneously * complex, typical processing, subprocesses, simultaneously

* complex, parallel processing, subprocesses, simultaneously When the workflow in your case is **complex**, you can use **parallel processing** to run one or more **subprocesses** in the same stage **simultaneously** to allow users to perform tasks independently to complete the work in the stage. Complex workflows using parallel processing can run one or more subprocesses simultaneously.

What are the actions when configuring the Split for Each shape if you select to Resume processing after a specified number of subprocesses reaches a certain status?

1. In the Exit iteration list, select On count. 2. In the Number of paths field, enter an integer that determines how many subprocesses need to reach a certain status to resume processing. Note: Enter an integer that is lower or equal to the number of embedded pages in the page property that you provided in step 5. 3. In the Resulting with flow status field, enter a status that subprocesses need to reach to resume processing. For example, enter Resolved-Completed.

What are the actions when configuring the Split for Each shape if you select to Resume processing after a when condition returns a true value?

1. In the Exit iteration list, select On when. 2. In the When field, enter a when condition that resumes processing after evaluating to true.

How do you set the context on the Subprocess details section?

1. Open process. 2. On the Diagram tab of the flow form, open the property dialog box by double-clicking the Subprocess shape. 3. In the Subprocess details section, in the Define flow field, select a working context for the subprocess

When adding a link to navigate back to Split for Each shape, what are the 3 options available?

1. To enable users to get back to the subprocess after the case moves forward, select the Only allow navigating back to this step check box. 2. To enable post-processing or validation when users navigate back from the subprocess in the breadcrumb trail, select the Perform post-processing when navigating away from step check box. 3. If you had selected Iterate, to allow users to return to the entry points in the subprocess, select the Subprocess has navigation links check box.

What is a Split For Each?

A Split For Each shape allows you to run one subprocess multiple times by iterating through a set of records stored in a page list or page group. When the items on the list have been processed, the main flow continues.

For the Split Join, what two options are available in the Filter by flow field?

A series of forms or actions?

Does a parallel subprocess run in sync or run asynchronously?

Each subprocess runs asynchronously and in parallel.

What shapes does Pega have for more complex parallel processing?

For more complex parallel processing requirements, Pega provides the Split Join shape, the Split For Each shape, and the spinoff option in the Subprocess shape.

What is a consequence of running in parallel?

However, concurrent access may result in a need to refresh the assignment due to the fact that another user can make changes at the same time

In the Join list field of the Split for Each shape, what is the impact of selecting "All" or "Any" to define when the parent process resumes processing?

If you select Iterate and your process resumes after a specified when condition evaluates to true, in the Exit iteration when field, enter a name of the when condition that resumes processing after evaluating to true. If you select Some and your process resumes after a specified number of subprocesses is complete, configure the conditions to resume processing:

How do you select between a series of actions or a series of forms to be completed in the parallel flow after the Split for Each shape?

In the Filter flow by field, select the subprocess category: * To start a subprocess that is a series of actions to complete, select Process flow. * To start a subprocess that is a series of forms to complete, select Screen flow. In the Flow name field, enter the name of the subprocess that you want to run. Optional: To control whether the flow runs for all or some pages in the page property, in the When field, enter a when condition that evaluates values in each page. At run time, the system evaluates this when condition rule once for each page of the property in the Page Property field and starts a subprocess for any page for which this rule evaluates to true.

How do you complete the Join list for the Split for Each shape?

In the Join list, define when the parent process resumes processing: * To resume processing after all subprocesses are complete, select All. * To resume processing after any subprocesses are complete, select Any. After any of the subprocesses are complete, processing of the remaining subprocesses stops and the system cancels open assignments. * To begin processing of individual pages for which a specified when condition evaluates to true, select Iterate. * To resume processing after a specified number of subprocesses is complete, select Some. In the Page property field, enter the Page List or Page Group property that is the basis of the split.

What is the impact of parallel processing on locking?

Review the locking strategy and consider switching to the multiple user locking strategy. If concurrent access occurs, a user might need to refresh the assignment if another user makes changes at the same time. Learn more about case locking later in the mission.

What actions do you select the Join list for a Split join to resume processing after all subprocesses are complete?

Select All.

What actions do you select the Join list for a Split join to resume processing after any of the subprocesses is complete?

Select Any. After any of the subprocesses are complete, processing of the remaining subprocesses stops and the system cancels open assignments.

What actions are needed to configure a Split join so the subprocess works on a current case?

Select On current page.

What actions do you select the Join list for a Split join to resume processing after a specified number of subprocesses reach a certain status?

Select Some. * In the Exit iteration list, select On count. * In the Number of paths field, enter an integer that determines how many subprocesses need to reach a certain status to resume processing. Note: Enter an integer that is lower or equal to the number of subprocesses in your process. * In the Resulting with flow status field, enter a status that subprocesses need to reach to resume processing. For example, enter Resolved-Completed.

What actions do you select the Join list for a Split join to resume processing after a when condition returns a true value?

Select Some. * In the Exit iteration list, select On when. * In the When field, enter a when condition that resumes processing after evaluating to true.

Why would you run multiple instances of the same subprocess with a Split for Each shape?

Speed up case resolution by creating multiple instances of one subprocess that users can work on simultaneously and that later rejoin the parent process.

Which parallel processing type do you use when you need to run a subprocess multiple times to iterate over the pages of a Page List or Page Group property.

Spilt for Each

Which parallel processing type do you use when you need to create a subprocess in your case, that runs independently of the main workflow, whereby the case can continue without waiting for this subprocess to complete?

Spinoff (Note - "case can continue without waiting")

Which parallel processing type do you use when you have two (or more) subprocesses that proceed independently and in parallel?

Split join

How are join conditions used in a split join?

The Split Join shape gives you the flexibility to use join conditions that determine when the primary process can continue. For instance, a Split Join may include three separate approval subprocesses. You can specify that only two of the three approvals must be completed before resuming the main flow.

What is a Join Condition in a Split Join?

The join condition may iterate over a when condition or a count to determine when to resume the flow.

What is a key prerequisite before selecting to use parallel processing?

The prerequisite for this process to work safely is to review the locking strategy, and consider switching to the multiple user locking strategy.

What is the "main process" in parallel processing?

The process to which you add the shape is called the main process.

What does the "main process" do in parallel processing?

The shapes call one or more subprocesses that proceed in parallel.

What is a Spinoff?

The spinoff option in the Subprocess shape allows you to run the subprocess in parallel with the main flow.

How do you add a Spinoff shape?

The spinoff option is an advanced feature in the Subprocess shape and is accessed in the flow diagram.

Why have parallel processing?

This configuration allows users to perform tasks independently to complete the work in a stage

How would you send a Case for approval after the Split for Each shape?

This is done by selecting a suitable Page List or Page Group property that is the basis of the split into Page property field. To send a case for approval to multiple approvers, enter a page property that stores pages with the details of the approvers. The result is the system autopopulates the Class field that stores the class with embedded pages of the property that you provide.

When configuring the Split for Each shape, how do you add a link to the subprocess in the breadcrumb trail navigation?

To provide a link to the subprocess in the breadcrumb trail navigation, select the Enable navigation link check box, and then configure additional navigation options:

When is a Split Join suitable?

When the sub-processes are unrelated and can be performed in subprocesses that proceed independently and in parallel.

What is the main difference between a Spinoff and other parallel processing shapes?

With the spinoff option in the Subprocess shape, the main process does not wait for the subprocess to complete before proceeding. The subprocess does not rejoin the main process.

If you select to define a Join list for the Split for Each shape, can you define the order in which the system evaluates the pages?

Yes. In the Page group iteration settings section, define exact values to evaluate at run time: * In the Subscript order field, enter text that your process compares with the subscript value for each page in the group. For example, to find pages that include the word Pega, enter Pega. * Optionally, to require an exact match, select the Exact match check box. For example, to find pages that include an email address of the Pega domain, enter @pega.com. * Another option is to ignore the pages in the group that do not match the subscript order that you provide, clear the Process remaining changes check box. Otherwise, your process evaluates the pages without a match after processing all conditions in the Page group iteration settings section.

Can you use a join condition on a Split For each?

Yes. Like the Split Join, you can use a join condition to control when the primary process resumes. If you use an iterate join condition, you can start flows for elements of the Page Group or Page List property one by one, and configure testing conditions to determine whether to continue.

How can you use a Split For Each shape?

You can use a Split For Each to iterate over a list of vendors and send a quote request from each vendor on the list.

How do you add the Split for Each shape from App Studio.

You need to add from Dev Studio. The steps are: * In the navigation pane of App Studio, click Case types, and then click the case type that you want to open. * In the Case life cycle section, in the process in which you want to add the Split Join shape, click Configure process. * On the toolbar, click Open process in Dev Studio. * On the Diagram tab, click the Flow shapes icon, and then select Advanced Shapes > Split for Each. * Connect the Split for Each shape by dragging connector end points to connection points on different shapes in the process. Next: * Open the dialog box by double-clicking the Split for Each shape. * Optional: To provide a unique name for the shape, in the Split for Each dialog box, in the Split for Each field, enter a new name. * Complete the join list

What is a Split Join?

You use the Split Join shape to call multiple independent processes that operate in parallel and, later, rejoin.


Related study sets

Chapter 8: Body Mechanics and Patient Mobility

View Set

Nutrition Chapter 9: Plant-Based Diets

View Set

MH Module 8- Substance Related and Addictive Disorders

View Set

EC 340 International Trade Agreements (Unit 7)

View Set

Test on the Industrial Revolution, Capitalism, Socialism, Reform

View Set

Psychology 251 Chapter 4 Classification, Diagnosis, and Assessment

View Set

Anatomy & Physiology Chapter 1-2 Study Guide

View Set

Зарубіжна література

View Set