44
Views
5
Comments
Solved
Possible to automate application status?

Is it possible to automate disabling an application? Currently we do it within Service Centre manually but ideally would like it to be automatically disabled after a fixed period of time of it being enabled.

2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Sienna,


You can use an expand inline parameter to work around that, like on the image below:



Using inline parameters and updating system entities should be handled with caution, but it does the trick.


Kind Regards,
João

2018-10-29 08-31-03
João Marques
 
MVP

Hi Sienna,


You can programmatically disable / enable an application by changing the Disable attribute on the Application entity which you can reference from System:


With that, you can quickly create something in OutSystems that would implement such a logic.


Kind Regards,
João

UserImage.jpg
Sienna

@João Marques  Sadly realised this won't work as it's read only :(


2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Sienna,


You can use an expand inline parameter to work around that, like on the image below:



Using inline parameters and updating system entities should be handled with caution, but it does the trick.


Kind Regards,
João

UserImage.jpg
Sienna
UserImage.jpg
Sienna

Ah, perfect - thank you! :)

I had been fiddling around with a solution at espace level in sql instead

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.