How do I pass a List<int> from one job to another?

t3chb0t

I'd like to create a workflow so that the first job gets some ids from a database and passes them to the subsequent jobs. It's expensive to get the ids so I'd prefer to do it only once in the master job. The other jobs should just modify the data in their own way.

I've found a similar question about how this can be achieved: Quartz.Net and passing data between chaining jobs however I'm not sure whether this is a good idea because the documentation suggests otherwise:

Only store primitive data types (including strings) in JobDataMap to avoid data serialization issues short and long-term.

Quartz.NET - Best Practices

What can happen if I put a List<id> on to the JobDataMap? Is there another way for doing this?

Lajos Arpad

You are right in stating that List<int> is not primitive. Rather, it is a finite set of primitive values. However, since strings are considered to be primitive, you can encode your list into a JSON string, so it will be primitive.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to pass info from one job to another

From Dev

How do I pass values from one route to another in angular?

From Dev

How Do i pass a Public variable from one form to another

From Dev

Jenkins + Build Flow, how to pass a variable from one job to another

From Dev

how to pass data from one array list to another array list

From Dev

How to pass int value from one activity to another and display in TextView?

From Dev

Using an AngularJS directive, how do I pass a custom model from one directive to another?

From Dev

how do i pass the HTTP response from one activity to another activity in android

From Dev

How do I pass multiple variables from one handler to another in GAE?

From Dev

How do I pass a dynamic PHP variable from one page to another?

From Dev

Python unit test how do I pass variable from one function to another

From Dev

How do I pass arraylist of a custom object from one java class to another?

From Dev

How do I pass a generated variable from one html file to another

From Dev

How do I pass a JSON object from one controller to another(/view to view)?

From Dev

Using an AngularJS directive, how do I pass a custom model from one directive to another?

From Dev

How do I pass multiple variables from one handler to another in GAE?

From Dev

How do I pass information from a table view cell in one view controller to another view controller?

From Dev

Using Knockout.js how do i pass an id from a list in controller A to a button in another controller B

From Dev

How to pass a list from one class to another in Flutter?

From Dev

how to pass list of objects from one controller to another controller?

From Dev

How to pass object list from one activity to another in android?

From Dev

How to pass object list from one activity to another in android?

From Dev

How to pass list of columns from one table to another table in bigquery

From Dev

How do I pass the environment of one R script to another?

From Dev

How do I pass one method as a parameter to another method?

From Dev

Pass INT value from one Scene to another

From Dev

How Do You Pass a Variable from One Class to Another in Java?

From Dev

How do I pass a List<int> via FormUrlEncodedContent

From Dev

How do I pass a List<int> via FormUrlEncodedContent

Related Related

  1. 1

    How to pass info from one job to another

  2. 2

    How do I pass values from one route to another in angular?

  3. 3

    How Do i pass a Public variable from one form to another

  4. 4

    Jenkins + Build Flow, how to pass a variable from one job to another

  5. 5

    how to pass data from one array list to another array list

  6. 6

    How to pass int value from one activity to another and display in TextView?

  7. 7

    Using an AngularJS directive, how do I pass a custom model from one directive to another?

  8. 8

    how do i pass the HTTP response from one activity to another activity in android

  9. 9

    How do I pass multiple variables from one handler to another in GAE?

  10. 10

    How do I pass a dynamic PHP variable from one page to another?

  11. 11

    Python unit test how do I pass variable from one function to another

  12. 12

    How do I pass arraylist of a custom object from one java class to another?

  13. 13

    How do I pass a generated variable from one html file to another

  14. 14

    How do I pass a JSON object from one controller to another(/view to view)?

  15. 15

    Using an AngularJS directive, how do I pass a custom model from one directive to another?

  16. 16

    How do I pass multiple variables from one handler to another in GAE?

  17. 17

    How do I pass information from a table view cell in one view controller to another view controller?

  18. 18

    Using Knockout.js how do i pass an id from a list in controller A to a button in another controller B

  19. 19

    How to pass a list from one class to another in Flutter?

  20. 20

    how to pass list of objects from one controller to another controller?

  21. 21

    How to pass object list from one activity to another in android?

  22. 22

    How to pass object list from one activity to another in android?

  23. 23

    How to pass list of columns from one table to another table in bigquery

  24. 24

    How do I pass the environment of one R script to another?

  25. 25

    How do I pass one method as a parameter to another method?

  26. 26

    Pass INT value from one Scene to another

  27. 27

    How Do You Pass a Variable from One Class to Another in Java?

  28. 28

    How do I pass a List<int> via FormUrlEncodedContent

  29. 29

    How do I pass a List<int> via FormUrlEncodedContent

HotTag

Archive