question

Aida Chaikh avatar image
0 Likes"
Aida Chaikh asked Aida Chaikh commented

Pull with custom code

Hello,

I am using a custom code to pull from a list like this:

I have two labels on my list, one is a string, and the other one is an integer.
When I use the integer label in the query for pulling, it works.
BUT, when I use the string it DOES NOT work.

How can I implement the code, so it pulls the right string label? Considering that I cannot change the label to be an integer.

Thank you!

FlexSim 18.2.3
codepull
9jalv.png (35.5 KiB)
1zfgq.png (23.1 KiB)
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 Aida Chaikh commented

The character to identify a string is an apostrophe

" 'your string inside a string' "
· 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.

Aida Chaikh avatar image Aida Chaikh commented ·

Oh perfect! Thank you!

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.