question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Matt Long commented

Item not pulled from list

Hi all,

I have a problem in a model I am building. There is a token that needs to pull a item (steelLadle) from a list. There are steel ladles on the list, but nothing is pulled. You can see the pull activity and the list in the attachment. ( Note SL_PARTITION_EMPTY is equal to 1).

Can someone tell me what is going wrong?

If I try to pull something from the list in a script with the following code it works fine:

List list = List( "Steel Ladles" );

return list.pull( "",  1, 1, nullvar, SL_PARTITION_EMPTY );

I recently also had another problem with lists in the latest releases. A token was pulled from a list, but the token that pushed the token to the list did not leave the push to list activity. Are there more problems known with lists in the latest versions (17.1.6 and 17.2.1)?

pullpicture.png

Many thanks,

Patrick

pull from list
pullpicture.png (52.9 KiB)
5 |100000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
Matt Long avatar image
0 Likes"
Matt Long answered Matt Long commented

@Patrick Zweekhorst

List("Steel Ladles") will give you a reference to a global list named 'Steel Ladles'. The list shown in your picture is a process flow list named 'Steel ladles'. These are not the same lists. Could that be your issue?

In a small sample model I didn't have any issues pulling from a global or local list with a partition that is defined by a macro.

· 2
5 |100000 characters needed characters left characters exceeded

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

Hi @Matt Long

The name "Steel ladles" in the process flow is just the name of the activity. The list in the processFlow points to the global list "Steel Ladles". So there is no problem here.

There is also no difference when I replace the macro by only the number 1, so using the macro does not matter.

0 Likes 0 ·

Sorry, I'm not able to replicate any of these issues.

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.