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

[AAE-4924]Add method for createProcess with variables #6897

Merged
merged 2 commits into from Apr 6, 2021

Conversation

cristinaj
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)

What is the new behaviour?

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

const processDefinition = await this.processDefinitionsService.getProcessDefinitionByName(processDefName, appName);
const processInstance = await this.processInstancesService.createProcessInstance(processDefinition.entry.key, appName, {
name: processInstanceName ? processInstanceName : StringUtil.generateRandomString(),
businessKey: StringUtil.generateRandomString(),
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we passing a random businessKey ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know, i kept it the same as for createProcessInstance method.

@mauriziovitale mauriziovitale merged commit 39255ab into develop Apr 6, 2021
@mauriziovitale mauriziovitale deleted the dev-crisj-AAE-4924 branch April 6, 2021 08:25
TomikaArome pushed a commit that referenced this pull request Apr 9, 2021
* Add methos for createProcess with variables

* Exclude test due to bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants