Questions tagged [jobexecutiondecider]
6 questions
1
vote
0 answers
Uses of JobExecutionDecider in Spring Batch split flow using SimpleAsyncTaskExecutor
I want to configure a Spring Batch job with 4 steps. Step-2 and Step-3 are independent to each other. So I want to execute then in parallel. Any of these 2 steps or both can be skipped depending on Execution Parameter. Check the flow as mentioned…

Suman Das
- 11
- 3
0
votes
1 answer
How to execute a job that needs a job that was skipped in github actions
below workflow has 4 jobs.
I want job conditional-job to execute no matter whether the jobs it depends on are skipped i.e. skip-job and build.
Please let me know if and how is it possible.
name: My GitHub Actions Workflow
on:
push:
branches:
…

Ashar
- 2,942
- 10
- 58
- 122
0
votes
1 answer
Getting FlowExecutionException when using JobExecutionDecider in Spring Batch
I am new to Spring Batch . I implemented a JobExecutionDecider . Below is the code
@Component("customStepDecider")
@NoArgsConstructor
public class CustomStepDecider implements JobExecutionDecider {
Environment environment;
private String…

srinivas chaitanya
- 427
- 5
- 10
0
votes
1 answer
Execute a Step based on properties file in Spring Batch
I have to run a Spring Batch Job comprising of steps A,B,C based on properties file . I found out that we can use JobExecutionDecider in spring batch . But most of the examples given are using single condition . For example
public class…

Chaitanya rcvs
- 11
- 3
0
votes
0 answers
Is it possible to pass large objects from one step to another in spring batch
The requirement is to pass large objects from one step to another in a conditional flow where we should be able to modify the objects data as well. According to the docs we can promote it to the job execution listener but from what I've read the…

sashank Rm
- 21
- 2
0
votes
1 answer
The bean 'step1', defined in class path resource [com/example/config/JobConfig.class], could not be registered
I am looking to make the use of JobExecutionDecider in my Spring Batch App. I've taken reference: How to use decider in Spring batch?.
For the code I written I am getting below error. Note: Surely I dont want to override the beans in my code. Any…

PAA
- 1
- 46
- 174
- 282