question

Justyne K avatar image
0 Likes"
Justyne K asked Jeff Nordgren commented

how to ensure that task sequence read global table

where does task sequence read global table from?

global table
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jeff Nordgren commented

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.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image Jeff Nordgren commented ·
@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 0 ·
Justyne K avatar image Justyne K Jeff Nordgren commented ·

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 0 ·
capture.png (19.4 KiB)
Joerg Vogel avatar image Joerg Vogel Justyne K commented ·

@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 0 ·