WORKFLOWS IN NATIVE

0
Hi Everyone,I am working on a Mendix Native Mobile Application and currently exploring Workflow functionality.I noticed that Workflow User Tasks are not supporting Native Pages directly. In Web applications, we can open workflow task pages normally, but in Native Mobile it seems unsupported.I want to understand:Are Mendix Workflows officially supported in Native Mobile apps?If not, what is the recommended approach for handling approval flows or task-based processes in Native?Is there any workaround to open workflow tasks in Native pages?Has anyone implemented approval workflows successfully in a Native app?
asked
1 answers
0

Currently, Workflow User Tasks are not directly supported with Mendix Native Pages in the same way as they work in a web application.

The Workflow engine itself can run in the backend, but the generated Workflow Task pages are based on the web UI concept, so they cannot be opened directly as Native pages.

For Native Mobile applications, the recommended approach is usually:

  • Use the Workflow APIs / microflows to retrieve the pending tasks assigned to the user.
  • Create your own Native pages for the approval screens.
  • On approve/reject buttons, call microflows/nanoflows to complete or reject the workflow task.

Example:

Native App

→ Get current user's pending tasks

→ Show custom Native approval page

→ User approves/rejects

→ Microflow completes the workflow activity

This gives better control over the mobile UX and avoids depending on the workflow-generated task pages.

So the workflow can still be used for process orchestration, but the task UI needs to be implemented separately for Native.

Also, consider your Native app architecture:

  • If the app is online-only, this approach works directly with backend calls.
  • If the app supports offline mode, make sure the approval/task data is handled through offline entities and synchronization logic. For a smoother experience, you may need background activities/sync handling so the user actions are queued and synchronized when connectivity is available.

Kindly mark this as the accepted answer if it helps.

answered