question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Matthew Gillespie commented

Where is the DateTimeSource field NAME placed or used?

In the process flow DateTimeSource there is a column called NAME which I use to place a distinct identifier of the persons I'm modeling. But this NAME field is nowhere to be found either on the persons or on the tokens. As far I can find it's not used or at least not accessible. Am I correct?

I compensated by adding a Label column with that same info which creates a label on the person but that seems redundant since there already is a column called NAME.

FlexSim 18.1.2
process flowdatetimesource
· 1
5 |100000

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

tannerp avatar image tannerp commented ·

Hi Patrick,

As far as I know, you are correct that the Name field that you are referring to is not visible as a label. I believe that it is used simply for the user to differentiate between the outputs. If you increase the labels to "1", however, you can create a label which is accessible like normal on your tokens. I've tried to illustrate this in the image below. Hope this helps!

0 Likes 0 ·

1 Answer

·
Regan Blackett avatar image
0 Likes"
Regan Blackett answered Matthew Gillespie commented

A token names should show up like this on the token properties, and it's accessible with expressions like token.name


tokenname.png (65.0 KiB)
· 2
5 |100000

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

Patrick Cloutier avatar image Patrick Cloutier commented ·

Regan, I saw that my Name column was number data since the table is imported from Excel and the importer automatically set this column to number. For it to work I have to make sure to change the column to String after the import is done.

Secondly, the name does show as in your picture when I click on the token but only on the token in the general process flow that creates the persons. The name does appear when I click on the token in the instanced taskexecuter process flow that controls the persons or if I click on the person itself in the 3D view. I made sure "Copy token labels" is checked but that only copies the labels and not the name.

I compensated that by creating a name label on the token with a value of token.name and doing that before I 'CreatePerson' so that this label will be also on the person.

It works but it seems like a bug. As well as the thing above with the column data type.

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Patrick Cloutier commented ·

This is not a bug. A token's name is not a label so the copy token labels checkbox doesn't copy it. A name is not a label.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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