What product/components do you use and which version/fix level?
Are you using a free trial or a product with a customer license?
What are trying to achieve? Please describe in detail.
I’m trying to check if a variable is NOT NULL before copying it to another Document.
For this, I’m trying to use the “COPY CONDITION” property available in the “line” which links one Document to Other.
For example: Let’s say we have a Document List of “EMPLOYEES”.
Then, I need to map this Document List to another Document List.
But, I would like to check if “EMPLOYEES/ZTITLE” is NOT NULL , in other words, it must contain a value before sending to the destination.
I tried the following conditions but it didn’t work:
%EMPLOYEES/ZTITLE% != null
%EMPLOYEES/ZTITLE% != $null
The only way that worked was:
But I didn’t understand this COPY CONDITION logic. It should return FALSE or TRUE to copy the value? Could you help me?
Thanks in advance!!!
Do you get any error messages? Please provide a full error message screenshot and log file.
Have you installed latest fixes for the products
%emp/name%!=null condition is working for me.
Copy steps only gets executed if condition result is true.
Thanks for your response.
Please, could you test the same using a Document List instead of a single document object?
Yes it is working. In case of array. You need to set array index in condition.
But, if I put the index 0 (zero) won’t affect the condition only for the first array element? Or the condition will be set to the other elements too??
You can foreach step for each array item.
Foreach menu you will find in pipeline toolbar
sample.zip (6.1 KB)
input.xml (464 Bytes)
Sample array copy with fitter package is attached. Also find input to run flow service.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.