Selecting Specific Data that Corresponds to the next Steps - Decision in REF

Hi Team,

I’d like to give a little background to my question: I’ve four (4) datatables and having 4 queue items. Each queue item has (customer, PO, StoreId) fields. I have two storeIds (1 and 2). In my process down the road, I have store addresses corresponding to the storeId that I need to select from the dropdown. But before that I must make a decision to determine the data coming from the queue.

  • If the incoming data (PO) belongs to StoreId 1, we have to go ahead and click on the storeId 1’s address from the shipping address dropdown.

  • If the incoming data (PO) belongs to StoreId 2, we have to go ahead and click on the shipping address dropdown and select the address of StoreId 2.

I need your help in establishing the logic (decision). FYI – I am using REFramework for my process.

Thanks a lot!

Hi @Sisay_Dinku

Can you just add an extra bit of specific content in the “Add Queue Item” activity.

StoreId Source: 1 or 2

Then the performer can check this value and select the corresponding option?

Cheers

Steve

Hi @Steven_McKeering

Can you just add an extra bit of specific content in the “Add Queue Item” activity.
[/quote]
Could you elaborate your question in the above a little more? If you could, can you give me an example expression for that condition?

Just FYI - my plan is to use dispatcher integrated in performer.

Thank you for taking the time!

Thanks!

Are you using a queue?

@Steven_McKeering
Yes, I am using queue

In your ‘Add queue item’ activity update the ‘ItemInformation’ to include “StoreId”. You will need to use some logic to determine whether StoreId needs to be “1” or “2”
image

Hopefully this helps

Cheers

Steve

@Steven_McKeering Yes, I have done those. I am more interest in the expression (logic) in the if condition field to determine the PO that is coming from either StoreId 1 or 2. Thanks a lot!

Sisay

Does this help? Is this what you need?

in_TransactionItem.SpecificContent(“StoreId”).ToString = “1”

Cheers

Steve

@Steven_McKeering yes, something like this. How about if StoreID 2. Do I use another if condition right after this one or…?

Thanks!

Hey

The decision is up to you. I would suggest two “If” activities like the following:
image

Or this:

Makes it easier if there was ever a third option.

You can also directly assign the value to a string variable:
image

Cheers

Steve

@Steven_McKeering Thanks a lot!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.