Skip to main content
December 4, 2023
Question

Get Constant using Constant Name

  • December 4, 2023
  • 3 replies
  • 1 view

Team,

Do we have any cloud approved function which can provide constant using constant name ?

Regards,

Gaurav

    3 replies

    annap0005
    December 4, 2023

    If you need value then use getconstantvaluebyname("consName")

    if need object details then use getcontentdetailsbyuuid(getconstantorruleuuidbyname("consName"))

    December 4, 2023

    thank you for reply , i want to pass it to Update Constant smart service, i have multiple constants and hence using name to pass

    annap0005
    December 4, 2023

    I do not think we have option to do so. I would suggest use decision object to handle this.