Skip to content

FOUR-18763: Implemented BE for PI Process import#7337

Merged
TinCodes merged 2 commits intoepic/FOUR-18761from
task/FOUR-18763
Sep 6, 2024
Merged

FOUR-18763: Implemented BE for PI Process import#7337
TinCodes merged 2 commits intoepic/FOUR-18761from
task/FOUR-18763

Conversation

@TinCodes
Copy link
Copy Markdown
Contributor

@TinCodes TinCodes commented Sep 6, 2024

Tickets Solved by this PR:

Solution:

  • Added new route on api.php for importing PI Processes
  • Added new method on PackageAiController to send the pseudocode to the microservice

Related PRs:

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

ci:next

},
importNewPI() {}
importNewPI() {
console.log('> ', this.file);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this log

})
.catch((error) => {
window.ProcessMaker.alert(
this.$t("An error ocurred while importing the current PI Process."),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add to en.json file

@TinCodes TinCodes merged commit 06981b4 into epic/FOUR-18761 Sep 6, 2024
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.

2 participants