Is it possible (and if so: how) to add a custom Job to the jobexecutor in camunda BPM? My requirement is to execute a process-related Service by Timer or Loop. I do NOT want to model this in the BPMN directly, since it is not really part of the process. I could start additional arbitrary processes containing just one async Service task to archieve this, but I would prefer adding a method call containing the SOAP/REST/RMI call to the Job Queue Directly without the extra effort. Anyone tried this before?
Add custom Job to jobexecutor
2.1k Views Asked by Jan Galinski At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in JOB-SCHEDULING
- Javascript: Schedule HTTP requests for later
- Scheduling multiple instance of a single java process
- Automate an Ant Script to run at set times
- How to integrate spring-xd batch jobs with Control-M scheduler
- quartz job suspended while creating httpclient
- Greedy algorithm: highest value first vs earliest deadline first
- Defining node agenda jobs for these use cases
- Cannot create bean when start the application
- If I use both @PostConstruct and @Scheduled on a bean method what will be the consequences
- Get feedback from a scheduled job while it is processed
- Is it possible to run jobs on remote executors with APScheduler?
- job scheduler not working in xiaomi android
- UC4 Job Execution with Webservice
- How can one store a mutable set of items `(t, p)` so that queries for the `k` items with minimized `(n-t)*p` for some `n` are efficient?
- How to create a async Oracle job to run in multiple instances
Related Questions in CAMUNDA
- How to specify which start event should be called from a BPMN callActivity
- How to make Camunda engine use standard logging?
- camunda-webapp and JAAS-authentication
- Cross-process synchronization in Camunda?
- How to trigger table changes in camunda (using grails)?
- Avoid history table explosion for long-running cyclic processes?
- Deploying to a camunda process engine
- Camunda - external connector for BPMN - CMMN - DMN with list of data incoming?
- How to run Camunda with HSQLDB?
- Can a task be created in Camunda Workflow outside of a process?
- Support for radio buttons in Camunda embedded forms
- camunda RestApi CaseDefinition not returning id
- Camunda Embedded Form: Angular 1.2.16 module config function not firing, can't inject factories or services
- How to setup conditionals for BPMN2 Exclusive Gateway
- Camunda BPMN - accessing variables inside a thread
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is an advanced question. It is possible to create a Job using internal API. You need to provide two things:
A custom Job handler:
The job handler is added to the process engine configuration. See (
customJobHandlerslist).Command for creating the Job
For example from a Java Delegate (you could also use a custom command).
This creates a "Message Entity" which executes as soon as possible. If you want a timed execution you can create a TimerEntity. Then you can execute the command on the command executor of the process engine.
Edit: to test this in the Standalone Engine, you have to add the CustomJobHandler to the camunda.cfg.xml: