How to reference the value of a field in the system settings ?

Hi community,

 

I was wondering if there is a possibility to add a system setting which is, for example, looking for a field in the Opportunities and take its value.

 

For example :

 

The user adds a date field of the opportunity object.

Then, he would change the system setting pointing to this new created field to take its value (which obviously will be a date).

 

Why would I do this ?

 

Because I implemented some code logic behind it. I do not want the user to just have the logic applied on a specific field that I implemented but that he could change the field where the logic points to through the system settings (or lookups ?).

 

Hope you understand my issue.

 

Best regards,

Jonathan

Like 0

Like

4 comments
Best reply

Hi Jonathan,

 

Now I got your point and you are right, in case of a business process the user will have to update the process parameters to set the newly created field there or just any other field.

I'm afraid the business processes cannot be that much versatile, sorry.

Hello Jonathan,

 

Have you tried using a business process to complete the task? It seems to me that this can be achieved and automated with the help of just few BP elements.

 

Best regards,

Bogdan S.

Hello Bogdan,

 

Thanks for your answer. Well... it is a good point.

 

However, I wish to deploy an application (add-on like), so I do not know the field that the person will create (it is just mandatory that this field must be a "Date" type). From there, I would have a system setting (which the user can manually change) which points to this field and take its value (the actual date entered in the field on the opportunity page for example). 

 

With the help of a business process, I could automatically populate a system setting having the "date" format but, doing like this, the user should manually update the business process according to the newly created field right ?

 

Isn't there a way, for a UX point of view, to let the user change the system setting and not the business process itself ?

 

Best regards,

Jonathan

Hi Jonathan,

 

Now I got your point and you are right, in case of a business process the user will have to update the process parameters to set the newly created field there or just any other field.

I'm afraid the business processes cannot be that much versatile, sorry.

It could be a great idea to implement a system setting format which could point to a value of a specific field in future Creatio updates :)

 

Best regards,

Jonathan

Show all comments