Please note this project is an opensource unoffical project. While members of the Forgerock development team are working on this, it is not offically supported by Forgerock.
Forgerock Workflow Editor - UI
Workflow editor for the Forgerock platform and standalone IDM.
Explore ForgeRock docs »
The purpose of this readme is to help users setup either standalone workflow editor or deploy a workflow editor for a Platform / IDM instance.
- Currently, this project does not provide any means of authentication. To use authentication, you can build and include the project in your Forgerock platform or configure the development server to point to your Platform / IDM instance to share the same authentication session.
- Although the editor may work without Forgerock Platform, its functions will be limited.
There are two methods to get the Workflow Editor running:
- Development Server - Runs a standalone node server to allow for workflow editor use and project development/modifications.
- IDM Integration
Development server notes:
- By default, uses port
8080. Auto-increments if port8080is unavailable. - Assumes
openidmis the context for the rest service (For example, http://localhost:8080/openidm/info). For a custom context, edit/path/to/openidm-workflow-editor/.env, and update the variablesVUE_APP_IDM_HOSTandVUE_APP_IDM_CONTEXT. - Supports hot reloading and error display when code is changed.
- Built off Vue CLI 3.
- Download and install the latest node or verify your node version
node -v. - Check that you have the latest npm
npm install npm@latest -g. - Clone or download the Workflow Editor project repo:
https://github.com/ForgeRock/openidm-workflow-editor. - Navigate to your
openidm-workflow-editordirectory and install dependenciesnpm install. - Edit
vue.config.js, and updateproxyTable:targetto point to your target IDM. - Start up target IDM (default startup is
http://localhost:8080). - Start development server
npm run serve.
npm install
Compile and hot-reload for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
- Check that you have the latest npm
npm install npm@latest -g. - Clone or download the Workflow Editor project repo:
https://github.com/ForgeRock/openidm-workflow-editor. - From the project repo, copy
/public/ui.context-workflow.jsonto your IDM project's/confdirectory. - In the
/path/to/openidm/uidirectory, create aworkflowdirectory. - From the root of your cloned/downloaded Workflow Editor repo, build the project
npm run build. - After the project finishes building, copy the generated content from the
/project/distrepo to/path/to/openidm/ui/workflow. - Start your IDM instance.
- You should now be able to navigate to the
/workflowendpoint (Example default IDM configuration,http://localhost:8080/workflow/)