Skip to Content

Do not create target node if fields are empty

Hi SAPiens,

We have a requirement to not generate ITEM tag if field under ITEM is empty.

How can this be achieved.

Target Structure -

ITEM

- ID

- CHAR

- Value

If CHAR is blank... We dont want to generate ITEM tag in target.

BR,

Rashmi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Oct 06, 2017 at 09:51 AM

    Hi All,

    Issue resolved... we added one more condition at item level to restrict creation of empty ITEM tag.

    BR,

    Rashmi

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 04, 2017 at 06:08 AM

    How is Char Field populated ? whatever logic you are using for CHAR field just copy the same logic and check if there is some output of that logic if yes then create the node using create if to the ITEM node or else don't.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 04, 2017 at 08:29 AM

    You can try the below logic, I am just checking the length of CHAR field, Replace it as per the requirement.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 04, 2017 at 05:20 AM

    try create if function.

    Add comment
    10|10000 characters needed characters exceeded