question

Tom S4 avatar image
0 Likes"
Tom S4 asked Phil BoBo commented

Acquire different resource than before

I have a process with two operators. Any of them can perform the task, but there must be a different operator to perform an independent review at some point after the task. How do I guarantee the acquisition of a separate operator?

I'm currently trying to construct a query to say 'acquire the_resource where the_resource != my_resource'. This is my attempt:1639769608749.png

Is this a syntax issue or do I need a different approach?

Example model: AcquireDifferentResource.fsm


FlexSim 21.1.5
acquire resource
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

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Phil BoBo commented

"WHERE Puller.last_resource != value" should work for this.

· 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.

Tom S4 avatar image Tom S4 commented ·

This worked! Thank you. Normally I would check the custom code window to see what parameters I have access to, but this doesn't seem to be an option for list queries.

2 Likes 2 ·
Phil BoBo avatar image Phil BoBo ♦♦ Tom S4 commented ·

Object resources have an internal list:

1639772433206.png

The SQL syntax describing "value" and "puller" are in the List documentation: Lists Functional Reference (flexsim.com)

1 Like 1 ·
1639772433206.png (129.4 KiB)

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.