| Previous | Next |  | Contents | Index | Glossary

## Survey - Master/Detail Process Activities

#### Start (Node 1)

This is a Standard function activity that simply marks the start of the process.

- Function--WF_STANDARD.NOOP

- Result Type--None

- Required--Yes

- Prerequisite Activities--None

- Item Attributes Set by Function--None

- Item Attributes Retrieved by Function--None

#### Start individual requests (Node 2)

This function activity starts a detail work item for each member of the Survey Participants role, thus creating an individual survey for each user. The function copies all relevant item attribute values from the Survey - Master/Detail Process to each Detail Survey Process work item. In addition, the Master/Detail Process item key is set as the parent item for each Detail Survey Process work item.

- Function--WF_SURVEYDEMO.START_CHILDREN

- Result Type--None

- Required--Yes

- Prerequisite Activities--None

- Item Attributes Retrieved by Function--USERKEY, TIMEOUT_MINUTES

- Item Attributes Set by Function--for each Detail Survey Process work item: USERKEY, TIMEOUT_MINUTES

#### Wait For Flow (Node 3)

This is a standard function activity that is used here to pause the flow until the corresponding detail processes complete a specified activity.

- Function--WF_STANDARD.WAITFORFLOW

- Result Type--None

- Required--Yes

- Prerequisite Activities--Start individual requests

- Activity Attributes Retrieved by Function

- Continuation Activity Label: Constant, CONTINUEFLOW

- Continuation Flow: Constant, Detail

- Item Attributes Set by Function--None

- Item Attributes Retrieved by Function--None

#### Survey Results FYI (Node 4)

This activity notifies the survey participants of the results of the survey. The message includes two `Send' attributes that display the Survey name and the Result Script. Result Script is of type PL/SQL Document and generates a PL/SQL document that summarizes the survey results.

If you display the property page of the node, you see that the activity is assigned to a performer whose name is stored in an item attribute named Survey Participants.

- Message--Survey results

- Result Type--None

- Required--No

- Prerequisite Activities--Wait For Flow

- Expand Roles--Yes

- Notification Function--None

#### End (Node 5)

This is a Standard function activity that simply marks the end of the process.

- Function--WF_STANDARD.NOOP

- Result Type--None

- Required--Yes

- Prerequisite Activities--None

- Item Attributes Set by Function--None

- Item Attributes Retrieved by Function--None

| Previous | Next |  | Contents | Index | Glossary