Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

Conditional mapping


Romeo Casimina 3

Recommended Posts

Hi Gurus,

Is there a way to do conditional mapping in a service task (input to service mapping) I asked because I have service task which follows similar structure as below

Element

|--Element1

| |--Attribute1

| |--Attribute2

|--Element2

| |--Attribute3

| |--Attribute4Element2 is optional while Attribute3 is mandatory. I have two data fields following structure of both Element1 (df1) and Element2 (df2) and mapping it to input to service. What I want to do is check if df2 is null do not map as if I do not have that condition, service task is failing as the API expects that Attribute3 is required if Element2 is present. If I am not mistaken, what is happening is that the payload generated contains Element2 where its attributes are null.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...