- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 10:30 AM - edited 03-18-2024 10:32 AM
Build an application to send email when a record has been created or changed, but I can't do this, and it seems to me that it is necessary to have these conditions enabled, but I do not have access
Ah, I discovered Outbound Email Configuration, based on this guy's class: https://www.youtube.com/watch?v=fijlvJaQl9Y&t=640s I don't even know if it's necessary or not, I'm just trying to get my application to run
the application I created was this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 10:55 AM
Hello @Arthur Sanchez ,
Please ensure that you are in the global application scope. If you are in any other application scope, you won't be able to edit anything here.
Could you please try right-clicking on that property to see if it allows you to change it?
Also The system property 'glide.email.smtp.active' is currently set to False and is read-only. However, you can change its value to True using a background script. Please paste and execute the following script in your background script:
var gr = new GlideRecord('sys_properties');
gr.addActiveQuery();
gr.addQuery('name','glide.email.smtp.active');
gr.query();
if (gr.next()) {
gr.value = 'true';
gr.update();
gs.print("The value of 'glide.email.smtp.active' has been updated to: " + gr.value);
} else {
gs.print("Unable to find the system property 'glide.email.smtp.active'.");
}
Also below below conversion can be helpful:
Let me know it helps you or not so that we can proceed with it accordingly and if it helped then,
Please Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Thanks & Regards,
Aniket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:49 AM
Hello @Arthur Sanchez ,
Firstly, ensure that you save any ongoing work within the same application you are currently in. Afterward, proceed with the following steps:
- Switch to the Global application.
- Attempt to edit the email properties.
- If you are unable to edit them, try the second approach using a background script.
Let me know if you have any further questions or concerns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:29 PM
You need to make the changes like save or update in the same application in which your current record in like for example if you are trying to save the record which is from your newly created application then you need to change the application to your application which you created and the need to make the changes and if you are making the changes in the incident tabel in that case you again need to switch to global application since the incident in global application and then need to make the changes and save.
Also since I have gave you the correct answer your original question and since it worked as expected for you can you
Please Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Thanks & Regards,
Aniket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:49 AM
Hello @Arthur Sanchez ,
Firstly, ensure that you save any ongoing work within the same application you are currently in. Afterward, proceed with the following steps:
- Switch to the Global application.
- Attempt to edit the email properties.
- If you are unable to edit them, try the second approach using a background script.
Let me know if you have any further questions or concerns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:22 AM
Hello @Arthur Sanchez ,
Can you please once look into my below response and let me know if you have any doubts.
Thank you!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 11:56 AM
I managed it, but answer me one thing, what I configure in the global application will also affect my application or not?, because if it doesn't and I couldn't enable it to send email I will have to start the entire application from scratch and that's what I I didn't want to do it, and I don't even know if there's a way for me to export or save my application if the instance ends, do you know?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:07 PM
Hello @Arthur Sanchez ,
Okay so just correct me if I understood wrong, you Just want to know wherever you have built or configured will work or not after enabling this email property with the Global scope application or not right? If this is the question then yes absolutely you can do whatever you have did in you custum application or scop.
Also you have saved your new application right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:10 PM
I saw here, what I changed in the global scope also changed in my application, now the question is, how am I going to save the application? Let's suppose I have to open or change an instance or its time is running out, how do I save my application to place/import it in another?