Form to Trigger Logout

In this example, a form is created that allows user to trigger a logout of Ambience.

It consists of several parts and involves the Forms, Workflow and ETL modules.

  • Create form
  • Create ETL
  • Create workflow

Create Form

In the Forms module, create a simple form with the following hierarchy:

Create ETL

In the ETL module, create two ETL chainsets.

The first ETL chainset has two ETL steps:

  • First ETL step calls the ETL chainset Submit
  • Second ETL step redirect the URL to the logout page of Ambience (which logs user out of Ambience)

The second ETL chainset has one ETL step, which adds the field to elxPublic. This allows the value in the field to be remembered and displayed in the form.

Create Workflow

In the Workflow module, create a workflow as per the screenshot below that uses the ETL chainset create above.

For the “Submit” and “Logout” transitions, set the “OnTransition” to “Submit” and “Logout” respectively.

Run Form

Run the form with the workflow created above.

Enter a value in the textbox and click on the “Submit” button. The value in the “Name” field is still displayed.

Click on the “Logout” button and you will be logged out of Ambience.