cancel
Showing results for 
Search instead for 
Did you mean: 

Check if element node exists then create another element

Former Member
0 Kudos

Hi Everyone,

I have element node in the Target structure. I need to create another node if 1st node has been created.

Please let me know how should I do it.

Thanks

NPrabhu

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Prabhu,

Apply the same condition as you have done for 1st node. So if first node is created then this element is also created.

Regards,

---Satish

former_member200962
Active Contributor
0 Kudos

You need to make another node occur or you need to make the same node re-occur?

Former Member
0 Kudos

Hi,

I need another node to occur.

I need to check if item in the target is created. If yes then create item[1].

Also I need to add another item above each item node to say which text it is.

<ENGLISH_TEXTS>

<item>

<LINE>Catalog text jasdkajdlsk;k;</LINE>

</item>

<item>

<LINE>ProductText asasdklkf;sdlfs' </LINE>

</item>

</ENGLISH_TEXTS>

I want it to look like this

<ENGLISH_TEXTS>

<item>

<LINE>Catalog text</LINE>

</item>

<item>

<LINE>Catalog text jasdkajdlsk;k;</LINE>

</item>

<item>

<LINE>Product text </LINE>

</item>

<item>

<LINE>ProductText asasdklkf;sdlfs' </LINE>

</item>

</ENGLISH_TEXTS>

Thanks

Former Member
0 Kudos

Hi,

I need to add item above every item node to mention what text it is.

I want it to look kike this.

I need to check if Catalog node in the target structure was created if yes then create Product text node.

<ENGLISH_TEXTS>

<item>

<LINE>Catalog Text</LINE>

</item>

<item>

<LINE>1 Catalog Text asssssssssssssssss</LINE>

</item>

<item>

<LINE>Product Text</LINE>

</item>

<item>

<LINE>Product Text fffffffffffffff</LINE>

</item>

</ENGLISH_TEXTS>

Thanks

Former Member
0 Kudos

Hey

You can use below functions

Sender Node->Exist->createIf->Target Node

Thanks

Aamir

shweta_walaskar2
Contributor
0 Kudos

Hello,

Could you please provide more details on your requirement?

Regards,

Shweta