Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

The Method validateTransition How to set parameters?

harainye
Contributor
July 16, 2020

I am currently experiencing problems with workflow jump processes. I need to go from node A to node B. And node B has conditions,How to set it for var4 using the validateTransition method. 

The source code is as follows:

IssueService.TransitionValidationResult validateTransition(@Nullable ApplicationUser var1, Long var2, int var3, IssueInputParameters var4);

 Case 1: no parameters

validat = issueService.validateTransition(operator, mainIssue.getId(), 11, new IssueInputParametersImpl([:]))

 Case 2: I have a parameter -- test

How to set it for var4 using the validateTransition method with parameter named test. 

0 answers

Suggest an answer

Log in or Sign up to answer