[jBPM] - Go to a node already executed due to a task abort
by Carlos Ramirez
Carlos Ramirez [http://community.jboss.org/people/crramirez] created the discussion
"Go to a node already executed due to a task abort"
To view the discussion, visit: http://community.jboss.org/message/610389#610389
--------------------------------------------------------------
Hello,
I want to do the following and i don't find the way to do it with jbpm5:
* I have a workflow that represents a wizzard like functionality.
* Each step is represented by a human task, when the user press the next button the workingitem is completed and the workflow advances to the next human task.
* If the user press Prev the task shold be aborted and the flow should return to the last sucessfully executed node. Internally it will rollback the changes made in this step.
I have tried to put diverge node with a Secuence Flow that go backward to the node but the editor doesn't allow me. I don't know if it is posible. If I do an abort in the human task, the flow continues to the next node instead of stay there or go backward.
How do you think i can do this task?
Regards,
Carlos
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/610389#610389]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
[Beginner's Corner] - Problem gateway.AbstractFileGateway
by Sabrina Savani
Sabrina Savani [http://community.jboss.org/people/sabrinaafd] created the discussion
"Problem gateway.AbstractFileGateway"
To view the discussion, visit: http://community.jboss.org/message/610183#610183
--------------------------------------------------------------
Hi. First, sorry for my English, i'm French.
So i have to create a new service on a system wich already work as well.
2 directories, "source" and "cible". "Source" is where i put a CSV file, and i expected that it will be transferred to "cible". All my other services (same services) work. But i have an exception when i put my file on the repository, and the problem appears every 30s (when my listener try to read the file actually). 2011-06-14 17:42:55,162 ERROR [org.jboss.soa.esb.listeners.gateway.AbstractFileGateway] (ESBScheduler:ESB-SEPA.esb_Worker-0) Can't retrieve file list org.jboss.soa.esb.listeners.gateway.GatewayException: org.jboss.soa.esb.util.RemoteFileSystemException: 2: No such file at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:176) at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.onSchedule(AbstractFileGateway.java:109) at org.jboss.soa.esb.listeners.lifecycle.AbstractScheduledManagedLifecycle$1.onSchedule(AbstractScheduledManagedLifecycle.java:68) at org.jboss.soa.esb.schedule.SchedulerJob$ESBScheduledJob.execute(SchedulerJob.java:289) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: org.jboss.soa.esb.util.RemoteFileSystemException: 2: No such file at org.jboss.internal.soa.esb.util.SecureFtpImpl.getFileListFromRemoteDir(SecureFtpImpl.java:423) at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:166) ... 5 more Caused by: 2: No such file at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2291) at com.jcraft.jsch.ChannelSftp._realpath(ChannelSftp.java:1824) at com.jcraft.jsch.ChannelSftp.cd(ChannelSftp.java:263) at org.jboss.internal.soa.esb.util.SecureFtpImpl.getFileListFromRemoteDir(SecureFtpImpl.java:419) ... 6 more
I don't know if the problem come from the listener, or the file, or ESB ??
PLEASE someone help me on this.
Thks
S.S.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/610183#610183]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months