-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit EMA: Add and Trigger Workflow Actions #27159
Comments
* dev: move DotWorkflowActions Component to UI library * dev: move services to data-access library * dev: fix tests * dev: fix DotLocaleOptions interface * dev: trigger Workflow Action * dev: trigger workflow action and reload page if needed * dev: show success and error message * dev: cover tests v1 * dev: cover tests v2 * dev: cover tests v3 * dev: mock SplitButtonModule for test * dev: fix test imports * feedback v1 * dev: fix imports v2 * dev: feedback v2 --------- Co-authored-by: Freddy Montes <[email protected]>
Passed Internal QATested in master Screen.Recording.2024-01-25.at.18.11.44.movPublish: Screen.Recording.2024-01-25.at.18.13.06.mov |
We need some work here when you execute the move action Screen.Recording.2024-02-21.at.2.31.02.PM.mov |
@bryanboza I was able to move the page. In the video, you are using a Web hosting service, it might be related to its configuration. In addition, do we have any logs? Maybe vercel shows some logs too. UPDATED: It looks like we need extra configuration in Vercel to be able to use EMA. Videoiqa-issue-27159-edit-ema-add-and-trigger-workflow-actions.movImage |
@bryanboza Updated here. move-page.mp4 |
Approved: Tested on dotcms-qa-master.dotcms, Docker, macOS 13.0, FF v121.0.1 |
Parent
#26644
User Story
As a dotCMS user, I want to be able to trigger a workflow action from the editing page, so I can quickly take action on my content.
Tasks
Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
Assumptions & Initiation Needs
Get Workflow Action
We have the DotWorkflowsActionsService responsible for retrieving the available action for content.
Endpoints:
/api/v1/workflow/initialactions/contenttype/${contentTypeId}
[GET]/api/v1/workflow/contentlet/${inode}/actions?renderMode=${'LISTING' || 'EDITING'}
[GET]Note: When you right-click on a Contentlet,
LISTING
displays the workflow actions. On the edit page,EDITING
shows the workflow actions.Execute/Run a Workflow Action
We have the DotWorkflowActionsFireService responsible of executing a workflow action in the system.
/api/v1/workflow/actions/${actionId}/fire?inode=${inode}&indexPolicy=WAIT_FOR
[PUT]/api/v1/workflow/contentlet/actions/bulk/fire
[PUT]/api/v1/workflow/actions/default/fire/{defaultAction}
[PUT]For more information about the Workflow action endpoints, please refer to the documentation.
Quality Assurance Notes & Workarounds
N/A
Sub-Tasks & Estimates
The text was updated successfully, but these errors were encountered: