Home Analyst Portal

Send email task / attach to action log

Chris_JordanChris_Jordan Customer Adept IT Monkey ✭✭
Does anyone know how to make this option by default? We don't want any emails being sent using this task and not be attached to the action log.


Answers

  • Joe_BurrowsJoe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭
    @Chris_Jordan

    Checkout the below thread for some code the community has shared to set this:

    https://community.cireson.com/discussion/309/

    Cheers
    Joe
  • Chris_JordanChris_Jordan Customer Adept IT Monkey ✭✭
    edited August 2016
    Thank you!
  • Joe_BurrowsJoe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭
    works fine for me in v6 using the below

    app.custom.formTasks.add('ServiceRequest', null, function (formObj, viewModel) {
        formObj.boundReady(function () {
    $("#actionLogisPrivate").trigger("click")
    $(".link[data-bind*=sendEmail]").on("click", function () { 
    $("#IsAddToLog").trigger("click").closest("div"); 
    });
        });
    }); 
    app.custom.formTasks.add('Incident', null, function (formObj, viewModel) {
        formObj.boundReady(function () {
    $("#actionLogisPrivate").trigger("click")
    $(".link[data-bind*=sendEmail]").on("click", function () { 
    $("#IsAddToLog").trigger("click").closest("div"); 
    $("#ChangeStatusToPending").closest("div"); 
    });
        });
    });
    
    <img src="https://us.v-cdn.net/6026663/uploads/editor/cx/o1cnxvsz52l5.png" alt="" title="Image: https://us.v-cdn.net/6026663/uploads/editor/cx/o1cnxvsz52l5.png">
    

  • Chris_JordanChris_Jordan Customer Adept IT Monkey ✭✭
    Yea was strange, I refreshed everything.. didn't work.

    But it's working now, don't understand.. but that's ok. Thank you very much Joe.
  • Joe_BurrowsJoe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭
    Awesome :)
Sign In or Register to comment.