Creating the Role Change Request App

Subscribers

The Role Change Request App starts with the employee submitting a request form. Processing then proceeds to the Current Manager, then to the Receiving Manager, and finally to Human Resources. At each step a different form is presented, and the object accumulates data. By the end of the process the whole data object is complete.

The Role Change Request object flows through several steps in this Workflow Powered App.

Before proceeding, create the backing object, form views, and table views. See Creating the Role Change Request Object for details. Here, you’ll create the Workflow Powered App based the backing object presented there.

A Standard app can be created from within the Object Control Panel entry, but not a Workflow Powered app. Instead use the Apps Control Panel Entry:

  1. Open the Applications Menu (Applications Menu) and navigate to Control Panel → App Builder → Apps.

  2. Click the Workflow Powered tab. Any existing Workflow Powered apps are displayed.

  3. Click the Add button (Add) to open the New Workflow Powered App canvas.

    The Workflow Powered App is underway.

  4. The first step of the workflow is in place—rename it to Request Role Change. The first step represents the submission of the first form that kicks off the application’s process. After renaming the step, configure the Data and Views:

    • Main Data Object: Select the Role Change Request object.
    • Form View: Select the Employee Request form.
    • Table View: Select the Role Change Request Master List (this table view isn’t used for this step).

    Configure the Action:

    • Rename the current action to Send to Manager.

    Save the application.

  5. Re-open the app and add a step to the workflow by clicking the plus icon.

    Name it Review: Current Manager and assign it to the Administrator Role. Each step you add for the Role Change Request App corresponds to a different form. Together, all the steps/forms fill out all the fields of the backing object.

    Now configure the Data and Views:

    • Form View: Current Manager’s Assessment. Make it editable.

    Go back to the Step Configuration screen and configure the Actions:

    • Rename the action to Forward to Receiving Manager.

    Save the app. If you see a warning message about applying the updates to existing app data, click Save in the dialog box. This is a new app that doesn’t currently have any data records, and the warning is informational.

  6. Re-open the app, click on the last step added, and add a new step by clicking the plus icon.

    Name it Review: Receiving Manager and assign it to the Administrator Role.

    Now configure the Data and Views:

    • Form View: Potential Manager’s Assessment. Make it editable.

    Go back to the Step Configuration screen and configure the Actions:

    • Rename the existing action to Forward to Human Resources. It transitions to the next step in the workflow.

    • Add a secondary action, named Send Back to Current Manager. It transitions back to the previous workflow step, enabling the two managers to collaborate on the details until it’s ready for HR review.

  7. Re-open the app, click on the last step added, and add a new step by clicking the plus icon.

    Name it Review: HR and assign it to the Administrator Role.

    Now configure the Data and Views:

    • Form View: HR Assessment. Make it editable.

    Go back to the Step Configuration screen and configure the Actions:

    • Leave the action named Submit.

Deploying the App

Now the app is ready for use. It just needs to be deployed so its users can begin sending data.

The Role Change Request app can be deployed as a standalone app with a dedicated link. This is the type of app that should be used after reading some procedures, perhaps in a Wiki or a company’s employee handbook document. Keeping the link there ensures that employees read the appropriate documentation before kicking off a Role Change Request.

Using the App

As with any workflow item, the task must be assigned to a User to fill out and submit the form. The way you do this depends on how you access the workflow task.

Once the Employee Request form is submitted, the Role assigned to the next step receives a notification. Click on it to see the next form view, Review: Current Manager. Assign the task to a User by clicking the Change icon (Change).

Each form of the app can be accessed via User Notification.

Alternatively, you can manage the workflow process of the app’s entries from the table view for the app. The app’s default view is its table view, so for a standalone app like the Role Change Request, use its dedicated link to go to the app. Click an entry’s Actions button (Actions).

Each form of the app can be accessed via the record's Actions menu.

To assign the task to a User, use the Assign To menu item. After that you can access the appropriate form by choosing the Edit menu option.

note

You cannot use the My Workflow Tasks app to manage the steps of a Workflow Powered App.

Going Further with the Role Change Request App

Add enhancements to make the Role Change Request app fully functional:

  1. Create Roles for the managers and HR. Assign the appropriate steps to each Role, rather than using the Administrator Role.

  2. Create a Standard app so those with proper permissions can see the master list table from the Role Change Request object. Administrators can also kick off a form for an employee since they can access the first form, Employee Request.

Ask

Capabilities

Product

DXP

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy