Skip to main content
June 15, 2021
Question

Update Constant Smart service

  • June 15, 2021
  • 1 reply
  • 0 views

Hi Everyone,

I have a requirement to update more than 100 constants from the UI, for that I created Process model and I used Update Constant smart service , 
But the problem I am facing is for each constant I have to use separate "UPDATE CONSTANT" smart service.

So is there any way to handle this kind of situation, apart from writing Smart service for each constant? 

1 reply

mikes0011
Brainy
June 15, 2021

As far as I know the update constant smart service node must refer directly to the constant you need to update, meaning you'd at least need a separate node for each constant in question. 

The real question here is, if you have ~100 constants you want to update procedurally, why is this not just using the database instead?  It seems like you're over-stretching the limits of the intended use case for constants in the first place.