Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
nameactionflow
nopaneltrue

What is

an Actionflow

a Converge Action?

Image Added

An Action

The

Insert excerpt
_action_converge
_action_converge
nopaneltrue
 action is used to combine two paths within an Actionflow. This node converges two or more paths together, passing through all attributes which are common to all incoming paths. It does not merge any records. 

Creating Converge Actions

  1. Click an
HTML Comment
hiddentrue

Insert excerpt
Converge Node
Converge Node
nopaneltrue


Worked Example

Here's a worked example using the Shop Data (available from the Learning Centre).

In this example, we are using:  

  • A Customer Form screen containing blank input fields, set up to create a new customer  - this screen was created using the Edit Form template
Tip

If you are completing this chapter as part of the Actionflow course and using a training instance, the data and screens have already been pre-loaded into the Actionflow Intermediate Application. For this example, we'll be working on the grid on the Customer Form screen.

GIF/SCREENSHOT OF FINISHED RESULT

For this example, we'll create

We recommend that you have prior knowledge of 

Insert excerpt
_action_gateway
_action_gateway
nopaneltrue
 actions and 
Insert excerpt
_action_email
_action_email
nopaneltrue
 actions or have completed 2.03 Gateway Action Configuration and 2.11 Email Action Configuration.

SEE ACTIONFLOW ON SAVE BUTTON ON NEW CUSTOMER FORM

Converge Actionflow

Example:

  1. Open the Customer Form and unlock the screen
    1. If you have completed the chapter xxxx on xxxxx, right-click on the Save button and choose 
      Insert excerpt
      _remove
      _remove
      nopaneltrue
       Actionflow
    2. Close and reopen the screen
    3. Right-click on the screen and choose 
      Insert excerpt
      _actionflow_icon
      _actionflow_icon
      nopaneltrue
       Add Form Actions
    4. Drag
      Insert excerpt
      _save_icon
      _save_icon
      nopaneltrue
       Save Record onto the Save button
  2. Open the Actionflow on the Save button
  3. Create a 
    Insert excerpt
    _action_gateway
    _action_gateway
    nopaneltrue
     action
    1. Name: Joined Mailing List
  4. Add this between the input and save action
  5. Choose the out Output Connection Point
  6. Click on the input connection point and map in the attribute, mailingList, into the Actionflow
  7. Map this into the gateway node
  8. On the gateway node, create 2 rules:

    1. Code Block
      themeEmacs
      titleAttribute: EmailMe
      in.mailingList == true



    2. Code Block
      themeEmacs
      titleAttribute: DontEmailMe
      in.mailingList != true




1.02 Actionflow Principles