Activities Flashcards

1
Q

What is an activity rule?

A

Activities are structured as a series of steps which are executed in sequence. Each step references a method, or another activity, or can contain plain java code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CorrNew

A

create and send emails

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

AddWork

A

create a new case instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UpdateStatus

A

set the status of the case instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Examples where activities must be used

A
  • To perform Case related functions such as creating a case instance, routing the case, or updating the work status, as part of certain operations such as parsing an input file.
    • To send requests to external systems or to receive requests from external systems.
    • To perform functions such as writing to a log file or to the history database.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Local Variables

A

Local variables section identifies scalar variables, and they are stored as fields in the java class that PRPC generates to implement the activity. hey are often used to pass information from step to step. We can reference the properties listed here as Local keyword (Local.PropertyName) in the Steps tab for any processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Primary Pages

A

A Primary page is a clipboard page which has the same class as the “Applies To” class of the activity and is designated when the activity is called. This page is the default location of properties referenced with a dot and no preceding page name. For greater clarity, we can reference a property on the primary page using the keyword “Primary” followed by a dot and the property name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Step pages

A

When a Branch or Call instruction executes as defined in a step in the Steps tab, the page in the Step Page column of the step becomes the primary page of the called activity. If the Step Page column is blank, the primary page of the current activity becomes the primary page of the called or branched-to activity. That is, the primary page of an activity becomes the step page of each step, except for steps where the Step Page column is not blank. The step page becomes the primary page for the duration of this step’s execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Parameter Pages

A

A parameter page contains parameter names and values, as listed in the parameters tab. It has no name or associated class, and is not visible through the Clipboard tool. However, we can display the contents of the parameter page with the Tracer tool.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

For Each Page

A

As we iterate through the loop, we can select the “For Each Page” option to sequence through all pages of a specified class or classes and perform a method or instruction for each page. Leave the Step Page field blank. Each time the step repeats, the step’s page changes internally automatically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

For Each Embedded Page

A
Use the “For Each Embedded Page” option to apply a method or instruction to each embedded page in a Page List or Page Group property. Identify the property containing the embedded pages in the Step Page field.
For the optional Valid Classes (“Only loop for certain classes” as shown below) parameter for these two “Repeat” conditions, we can enter a class or classes. We can click the “Add Row” icon to add more than one class. When valid classes are populated, iteration processing only processes pages of the valid class list and the ones derived from them and skips over the pages of classes that are not in the list.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

For Each Element in a Value List

A

We can select the “For Each Element in a Value List” option to repeat the step for each element in a Value List property. When we select this iteration form, a Property Name field appears. Identify the Value List property in the Property Name field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

For Each Element in a Value Group

A

We can select the “For Each Element in a Value Group” option to repeat the step for each element in a Value Group property. When we select this iteration form, a Property Name field appears. Identify the Value Group property in the Property Name field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

For Loop

A

We select the “For Loop” option to repeat the step a number of times determined by the values of integer constants or integer properties. Enter integer constant values or integer property references for the Start, Stop, and Increment fields. The Increment must be a positive integer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Property-Set

A

used to set the value of one or more properties. If this is the only step, we would be using a data transform rule instead of activity rule. When setting the properties, we can use any of the symbolic indexes that we had described earlier in this lesson.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Call

A

used to find and execute another activity. After the called activity completes, the calling activity resumes processing.

17
Q

Page-New

A

creates a blank clipboard page of a class specified.

18
Q

Page-Remove

A

used to delete one or more named pages from the clipboard. If no page is specified, the page referenced by the step page will be removed.

19
Q

Apply-Data-Transform

A

used to invoke a Data Transform rule directly from a step.

A full list of the methods provided is available in Developer Help.

20
Q

Page-Copy

A

method allows a reference to a Data Transform rule which is applied to the destination page before copying data from the source page

21
Q

Page-Change-Class

A

method also allows a reference to a Data Transform rule in the target class or any of its parents to be applied to the page when changing its class.