Problem on dispatcher

Hi,

What could be the message highlighted for the If activity?

The selection for the page 2 in the ACME work item page is using a dynamic selector. The value of the dynamic selector is as below:

Is the problem from the If statement or the dynamic selector?

Hi @Sam_Kong

From your error message, you need to assign in_Transaction to a value before using it,
set a default value in the argument or set in_Transaction a value when invoke this workflow.

1 Like

Hi @wusiyangjia,

The workflow is for the level 3 assignment 2- generate yearly report.

I am testing whether my project is working or not. It is a good practice to not hard code, so if we put value in the arguement for in_TransactionItem, is it against it? Correct me if I am wrong.

Hi @Sam_Kong

Are you sure the value you put in the arguement for in_TransactionItem is always not null?
Maybe at first time, you need to set it to “1”.

1 Like

Thanks for the hint @wusiyangjia.

I have put “1” in the in_TransactionItem arguement.

However, I noticed the system does not go to page 2 and so on, as the error stop processing at transaction 2 and highlight at the Add queue activity error. The Add queue value is go to the orchestator in the config file.

Hi @Sam_Kong

So you mean that the error is from Add queue not If activity?
Could you provide me with detail error message about Add queue activity.

1 Like

I have sent you an email, @wusiyangjia

Hi @Sam_Kong

I found there is no argument value be set in Invoke Workflow activity.

you can also refer to below workflow.
Process.xaml (9.3 KB)

1 Like