Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions javasource/processqueue/queuehandler/ObjectQueueExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ public synchronized void run()
try
{
// Start the microflow of the action.
this.context.startTransaction();
try {
Object booleanResult = Core.execute(this.context, this.microflowName, this.action);
HashMap<String, Object> paramMap = new HashMap<String, Object>();
paramMap.put("QueuedAction", this.action);
Object booleanResult = Core.execute(this.context, this.microflowName, true, paramMap);

this._state = State.executionComplete;

Expand All @@ -182,7 +183,6 @@ public synchronized void run()

} catch (Exception e) {
this._state = State.executionFailed;
this.context.rollbackTransAction();
_logNode.error("Error while executing: " + this.microflowName + " from the queue", e);
setErrormessageAndCommit(this.context, this.action, "Error occured while executing the process, error:" + e.getMessage(), e, LogExecutionStatus.FailedExecuted, ( microflowResult != null && microflowResult ? ActionStatus.Finished : ActionStatus.Cancelled) );
} finally {
Expand Down