if esleif else in Custom action | Community
Skip to main content
Level 4
October 24, 2024
Solved

if esleif else in Custom action

  • October 24, 2024
  • 1 reply
  • 577 views

Hi @satheeskannak @mohan_dugganab @davidkangni 
can we use if , else if ,else condition in custom action  in the custom  action body to send out any msg 

if (a== "1")

ABC

esle if (a== "2")

ZXC

else if (a=="3")

QWE

else

byee

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mohan_Dugganab

It will be on the following lines 

if (a=="1") then ("XYZ") else ( if (a=="2") then ("XYZ") else ( if (a=="3") then ("XYZ") else ("No Segment") ) )

1 reply

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
October 24, 2024

It will be on the following lines 

if (a=="1") then ("XYZ") else ( if (a=="2") then ("XYZ") else ( if (a=="3") then ("XYZ") else ("No Segment") ) )
Level 4
October 24, 2024

thanks @mohan_dugganab just solved this few min back