cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping: Difference between createIf and ifWithoutElse

Former Member
0 Kudos

Suppose i have some condition based on which i am creating a node. Is there any difference between createIf and ifWithoutElse for creating the node (with or without context change)?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

createif is a NODEction which creates a node in target structure if the condition mentioned is true

where as ifWithoutelse is a Boolean function which returns value of second argument if condition is true

Former Member
0 Kudos

Hi Mala,

Go through this weblog.....it explians both createIf and ifWithoutElse with example

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Thanks,

Maheshwari.

Former Member
0 Kudos

Hi Mala,

1. IfWithoutElse is usually used to set the filters in mapping. When If condition is satisfied the value of then is returned in output.

Else value is depends upon the mapping, i.e. where u want this value ( target or in function)

2. Createif is used to insert any structuring element in the target structure if it is not present in source.

To create a condition based node you have to go to CreateIf function as ifWithoutElse is boolean function deals with the true n false status of values and not with node creation.

Regards,

Shri

    • Reward points if u understood the concept.

Former Member
0 Kudos