Forums

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

JMWE - How to hide transition for logs

Kevin Seery
Contributor
July 9, 2019

Hi,

I send email out to user promoting them for information, when a field value has changed. To do this I use a listener that triggers a workflow written with JMWE. This is a loop back workflow from in progress to in progress.

The message in the logs in confusing some user, as message in the logs say issue now in progress... This also fills up the DB.

Is there anyway to stop this workflow being logged?

 

Many Thanks

Kevin

1 answer

0 votes
David Fischer
Community Champion
July 9, 2019

Hi Kevin,

Since you are triggering the workflow transition from a listener, it's really in that listener that you might want to prevent the transition from being recorded in the issue history - this has nothing to do with JMWE.

If you are using the IssueService to trigger the transition, then you can use the 

validateTransition(ApplicationUser user, Long issueId, int actionId, IssueInputParameters issueInputParameters, TransitionOptions transitionOptions)

 method, passing a TransitionOptions that has the automaticTransition flag to true.

Suggest an answer

Log in or Sign up to answer