You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand you want to include or not some object, thus the use of #ifgroup, correct?
For simulating AND/OR operators, you could use nested #ifcondition.
For OR:
Hi,
How can I implement the AND or OR within my transformation? Below is the code I am trying to achieve.
"#ifgroup(#ifcondition(#currentvalueatpath($.Type),Sales,True,False)) #or #ifgroup(#ifcondition(#currentvalueatpath($.Type),Purchase,True,False))": {
"Property": [
{
--Transformation code
}
]
"#ifgroup(#ifcondition(#currentvalueatpath($.Type),Sales,True,False)) #and #ifgroup(#ifcondition(#currentvalueatpath($.Type),Purchase,True,False))": {
"Property": [
{
--Transformation code
}
]
The text was updated successfully, but these errors were encountered: