Skip to content
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

fix mark_as_resolved processes.ftl function: tell server to accept jason and reload table #231

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

zonagit
Copy link
Collaborator

@zonagit zonagit commented Jan 29, 2025

Purpose

  • The mark_as_resolved function in processes.ftl was erroring out when the user selects a red (error) run of a bpmn and selects the mark as resolved action

Proposed Changes

  • When the client sends the procId it tells the server to accept json (this part was missing) by adding the AcceptContent option

Issues

Testing

  • Tested on m20 common workflow deployment. We can provide a pipeline if needed.

@zonagit
Copy link
Collaborator Author

zonagit commented Jan 29, 2025

The code

//clear table table.clear().draw(); //reload table fetchAndDisplayProcesses();

is used in other javascript functions in processes.ftl (probably added by Will) to retrieve the updated table of procIds

@zonagit zonagit changed the title fix mark_as_resolved processes.ftl function: tell server to accept jason and redraw table fix mark_as_resolved processes.ftl function: tell server to accept jason and reload table Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant