question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Maryam H2 commented

Fixed Resource List Query

How can I write a query to retrieve a specific object or a specific group of objects from a Fixed Resource List?

FlexSim 23.2.0
queryfixed resource listshared list
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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Maryam H2 commented

In a pull activity in a process flow? Or using FlexScript?

In a pull activity you can specify:

  • A query - user WHERE and ORDER BY filter and sort the entries - puller instead of token keyword
  • An object - reference via label pointer or sampler - can use token
  • An array - of multiple objects.



· 7
5 |100000

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

Maryam H2 avatar image Maryam H2 commented ·

in a pull activity. I'm looking to see how I can write that specific query to acquire specific object.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Maryam H2 commented ·

If the object is referenced by a token label called myObject then you just put:

token.myObject

in the field - that's the 'Object' option rather than a query. A query would be

WHERE value=puller.myObject

where the puller is the token.

0 Likes 0 ·
Maryam H2 avatar image Maryam H2 Jason Lightfoot ♦ commented ·

Thanks for the answer @Jason Lightfoot

So, is "myObject" in the query the name of the Object?

Also, in my model I have a process 1 which use a FR List that can use all of the objects, while I have another Process 2 which one of the subflows in the process can use one of the object and the aother subflow the rest of the objects (see attached the model). How I can set up query for these Lists?



0 Likes 0 ·
Show more comments

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.