how to ensure that task sequence read global table

how to ensure that task sequence read global table

justyne_k
Not applicable
17 Views
4 Replies
Message 1 of 5

how to ensure that task sequence read global table

justyne_k
Not applicable

where does task sequence read global table from?

0 Likes
Accepted solutions (1)
18 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

A tasksequence is a static code that gets its data when it is created. If you set a reference to a table cell's data which is changed before the task sequence is executed by an taskexecuter. The tasksequence won't change its once set data. You have to change the data by yourself.

If you know, that the data will be different when the tasksequence is executed, then you can use the tasktypes callsubtask or break. These tasktypes are able to divert to an object's message trigger or node where you create a tasksequence when the message event occurs. Please look inside the manual. The tasksequence and the tasktypes are documented there.

If this information isn't that what you are looking for, could please describe what you want to achieve with the data in the global table while the tasksequence is created or executed. Thanks.

0 Likes
Message 3 of 5

jeff_nordgren
Not applicable
@Justyne K

Need a little more information than that. Do you have your model you can send us or a sample of the area of concern? Tasks are created by objects in the model that need some type of task executer to perform a task. They really don't read from a global table, as such. They can be created anywhere in the model that a task executer is needed for a task. This is why I need more information about what you are trying to accomplish. A sample model or your model with a good description of what needs to happen would be very helpful.

Thanks.

0 Likes
Message 4 of 5

justyne_k
Not applicable

7847-capture.png

is it possible for me to change the 5.208 in global table? and how do i let the task sequence to read it from global table

0 Likes
Message 5 of 5

joerg_vogel_HsH
Mentor
Mentor

@Justyne K When do you want to read the value? A - when the Tasksequence is created. B - when the task of the tasksequence is executed.

When the tasksequence is created in dot syntax: table [row] [column]

table: reference of the table
row: number or string of the row
column: number or string of the column

Pre dot syntax times: gettablenum(table, row, column)

row and column are number values

0 Likes