question

sanaz karamimoghaddam avatar image
0 Likes"
sanaz karamimoghaddam asked Matt Long edited

How to reference backorders or contents on partitions in lists?

I have a item list that puts each entry on a separate partition based on a label. at the start, all of the back orders for the items are placed on each partition, and are fulfilled and removed when the items arrive at their partitions. I want to check in a code that if the back order for a certain item is still on the list, or it has been fulfilled already. Is there a way to reference that? I tried

if (node("/Tools/GlobalLists/ListName>variables/partitions/1/backOrders/1", model()) > 0) {
                

but couldn't verify if this reference to the node of back orders on the tree is the reference I am looking for. I would appreciate your suggestions. Thanks!

listbackorderpartitionsreferencing
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

Mischa Spelt avatar image
0 Likes"
Mischa Spelt answered Matt Long edited

Hi @sanaz karamimoghaddam, can I suggest you check out the listbackorders command? Also see this question.

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

Matt Long avatar image Matt Long commented ·

You can also look at the Wait for Event activity in Process Flow that allows you to list to events on a list like On Partition Back Order Content Change and On Back Order Content Change that will fire every time a back order is added or removed from a list.

0 Likes 0 ·