10.2 ATG with sendEmail script question

Hi all

I use ATG10.2, and I have created a registry script that sends an email, welcome as email of new records.

I have configured all the smtp properties, but the email is not send. I checked the property of the EmailEtat function in the profile, and it's valid status.

I don't have any error, and debug component scenarioManager I saw that the event is atg.dps.Register, it seems.

But I got this in my debug as:

"the individual instances 0 were found for the user object: 4604715.

Any idea?

Thanks in advance

Not sure what exactly is the problem in your environment, but just throw in some ideas... TemplateEmailSender has a property to send emails in the same thread. You can check that I think that for the events of local scenario it can be safely set to false.

Try to set dummyMode to true in SMTPEmail and check if you can see all of the markup of your email template rendered in the console ports server logs / every time e-mail action is triggered. I say this just to confirm that e-mail action is getting triggered after each event registration, so we're good up to this point. Sometimes, if you have multiple instances of ATG to connect to the same database, it is possible an instance of thugs (who might have been saved as ESG/PES) may out messages before internal event queue JMS gets it a legitimate server. So be sure that you are not running in this kind of situation.

In the ATG, when e-mail messages are sent using sender of model, an HTTP request is generated and maintained to make the JSP email template. So another area, you can watch it if any custom pipeline servlet which is originally a question because this request goes through the pipeline.

Tags: Oracle Applications

Similar Questions

  • Printer problem install with VB Script

    Hi all

    I hope you guys can help me with a problem I have. For a customer, we are trying to install printers via a script run when connecting. We got it working on 32-bit workstations, but I won't work on 64-bit workstations.

    We know that the problem is by removing the printer before connecting. With the script we have now it works only in 32 bits, but we need a solution that works on both. Or a script that checks the architecture of the en PC runs the script for 32 or 64 bit.

    The script:

    Option Explicit
    Dim FSO, strUserName, WSHNetwork, strUserDomain, ObjGroupDict, varenv, strVarUserName
    Dim objNetwork, strComputer, objWMIService, colInstalledPrinters, objPrinter, strLocal
    Dim strUNCPrinter1, strUNCPrinter2, strUNCPrinter3, strUNCPrinter4
    Dim strUNCPrinter5
    Sun printers
    Dim counter

    Set WSHNetwork = WScript.CreateObject ("WScript.Network")
    Set varenv = WScript.CreateObject ("WScript.Shell")
    Set FSO = CreateObject ("Scripting.FileSystemObject")
    strVarUserName = EnvVar.ExpandEnvironmentStrings("%username%") "

    "Wait for the user to connect

    strUserName = «»
    While strUserName = «»
    WScript.Sleep 100
    strUserName = WSHNetwork.UserName
    Wend
    strUserDomain = WSHNetwork.UserDomain

    Set ObjGroupDict = CreateMemberOfObject (strUserDomain, strUserName)

    'Create printers '.

    strUNCPrinter1 = "\\s-exch\P50 - A4 Dubbel (Kleur)"
    strUNCPrinter2 = "\\s-exch\P50 - A4 Dubbel (Z - W)"
    strUNCPrinter3 = "\\s-exch\P50 - A4 Enkel (Kleur)"
    strUNCPrinter4 = "\\s-exch\P50 - A4 I (Z - W)"
    strUNCPrinter5 = "\\s-exch\P50 - TCE - Briefpapier (Z - W)" "

    'Delete printers '.

    Set objNetwork = CreateObject
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Dubbel (Kleur)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Dubbel (Z - W)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Enkel (Kleur)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 I (Z - W)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - TCE - Briefpapier (Z - W)" "

    ' Create printermappings based on groupmembership

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter1
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter2
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter3
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter4
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter5
    End If

    Function MemberOf (ObjDict, strKey)
    MemberOf = CBool (ObjGroupDict.Exists (strKey))
    End Function

    Function CreateMemberOfObject (strDomain, strUserName)
    Dim objUser, objGroup
    Set CreateMemberOfObject = CreateObject ("Scripting.Dictionary")
    CreateMemberOfObject.CompareMode = vbTextCompare in
    Set objUser = GetObject ("WinNT: / /" & strDomain & "/" & strUserName & ", user")
    For each objGroup in objUser.Groups
    CreateMemberOfObject.Add objGroup.Name, «»
    Next
    Set objUser = Nothing
    End Function

    Hello Miesjel,

    Welcome to the Microsoft Community Forum.

    The question you posted would be better suited to the Technet community. Please visit the link below to find a community that will provide the support you want.

    Microsoft TechNet
    http://social.technet.Microsoft.com/forums/scriptcenter/en-us/home?category=scripting

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

    Happy new year!

    Thank you

  • Having a problem with the script error message

    The error message and web page script error every move I make now. I tried to check and uncheck boxes tab in advance internet options. I also ran a check of the system that did not help either. Any suggestions? Thank you

    Hi Mic,

    From the description, it seems that you have a problem with the script error message in Internet Explorer.

    To better understand the question, please answer the following questions:

    1. is specific to a particular Web site question?

    2 have you made changes on the computer before this problem?

    3. What is the exact full error message and web page of script error message?

    4. When you get exactly the script error message and web page error message appears?

    5. what exactly you're talking about when you say "system check"?

    See the article mentioned:

    How to troubleshoot script errors in Internet Explorer

    http://support.Microsoft.com/kb/308260

    Hope the above information is helpful. If you have any question back to us, we are happy to help you.

  • HELLO, I'M FACED WITH A PROBLEM WITH MY SECURITY QUESTIONS, I FORGOT THE ANSWERS AND NOW I CAN'T RESET, CAN YOU HELP ME?

    Hello

    I AM FACING A PROBLEM WITH MY SECURITY QUESTIONS.

    I FORGOT THE ANSWERS AND NOW I CAN'T RESET, CAN YOU HELP ME?

    Hello

    You will need to contact the Apple Support. (Nobody here can reset your security for you questions: it is a community based on the user, not the Apple Support).

    Contact information for the Apple Support:

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

  • lately and I don't know why I see a pop up of a problem with the script. can some1 help me?

    There is a pop up of a problem with the script. He asked end and contuniue the script. I didn't have this problem before. Please help me this is getting really annoying. He asks a lot

    I changed a theme and almost never have a problem again...

  • Enable or disable the write lock filter remote with a script

    Hello

    Is it possible to enable or disable the filter of writing EWF remotely with a script?

    Sending a command in a batch or the vbs.

    Thank you.

    In addition to HPDM, you can use the ewfmgr command in a script.  For example, ewfmgr c:-disable or ewfmgr c:-activate.  You will need describe reboots as well.

  • desktop icons covered by a blue screen with the white question mark

    original title; Desktop icons

    My desktop icons have a blue circle with a white question mark hide them.  How can I get rid of them?

    My desktop icons have a blue circle with a white question mark hide them.

    These are icons by programs such as Norton 360 backup and are used to indicate certain conditions such as the status of the backup. You must go into the program generating overlays and disable this setting. In the case of Norton that would be settings in the main window and then uncheck the backup status overlays.
  • Sims 3 crashes on startup with a script error

    Im having problems with the sims 3 someone can help?

    Hello someone can help me.

    I have a computer laptop windows 7 and have tried to install the sims 3, which starts to play then goes down (well goes back to my desktop screen) it then comes up with a script error. any help is greatly received, because it seems that I can not play any sims on this laptop and im so angry.

    Kay x

    Hello

    1 did you change on your computer?

    2. What is the exact error message you received?

    I suggest you to follow the links and check out them.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

  • Insert data into another database with a script

    Hello.

    What is the best way to insert data into one database with a script

    INSERT INTO BF_PRUEBASMTP.bf_mtp_agr_inscription (ain_agreementid, ain_customerid, ain_paymethodsid, ain_servicemoduleid, referencia)

    SELECT AAG. AAG_AGREEMENTID, ACU. ACU_CUSTOMERID, 2, 2, ins. NUMERO_REFERENCIA

    OF BF_PRUEBASMTP.bf_mtp_agr_biller ABI

    JOIN IN-HOUSE

    BF_PRUEBASMTP. BF_MTP_AGR_AGREEMENT AAG ON ABI. ABI_BILLERID = AAG. AAG_BILLERID

    INNER JOIN 'CLIENTEUNICO. ALMUERZO" ins

    ON THE AAG. AAG_AGREEMENTID = ins. CONVENIOID

    INNER JOIN BF_PRUEBASMTP.bf_mtp_agr_customer ACU

    ON ACU.acu_typedocumentid = ins. TIPO_DOCUMENTO

    AND ACU.acu_numberid = ins. NUMERO_DOCUMENTO;

    CLIENTEUNICO. INSCRIPCIONES = SELECT * DE INSCRIPCIONES - to a DIFFERENT DATABASE


    Thank you very much.

    2931095 wrote:

    If I don't have permissions to create a database link. Is there another way to do this?

    Thank you.

    link to database IS the method by which an Oracle database accesses to a different database.

    If you are the ADMINISTRATOR, you should have permission.

    If you are not the ADMINISTRATOR, you should not have permission and need to talk to the ADMINISTRATOR that is allowed.

  • Problems with Java script

    Hi, I'm doing a site with dream weaver cs5.  I am instituting a slider, this cursor uses java script coding, I'm not familiar with Java script. Here is the site that I have problems with. Www.bussmanncomputers.net/Jara.

    What said Teodor, the jQuery library is not found as can be demonstrated when we follow him - http://www.bussmanncomputers.net/Jara/js/jquery.js - link you have placed in your document online.

    The only reason why there is a 404 error is because the file is not in the specified location, it has not been downloaded to the location of i.o.w..

  • Need help with a script customized for processing in Photoshop CS4 of images in batches. Really grateful for the help thereby.

    Hi people.

    So I have a boatload of pictures that I have to deal with as I'm moving off Ebay and open my own online store and the images that I have on Ebay, although excellent quality are not square, and unfortunately, the model that I use in Wordpress requires square photos.

    Basically, what I need is a script that I can use in batch mode, which will focus on the size of the image and change the canvas size to be square corresponding to the current long image side. Resize the image to 1600 square pixels and finally save for web in JPEG quality 60.

    Normally I would muddle my way through this trying to teach myself but I already do so much with this new project that I can't afford to pay developers for help that I would really appreciate if someone could help me with this script. I use Photoshop CS4 if it made a difference.

    Thanks much for any help you can offer.

    See you soon,.

    J

    A simple gesture can do that. What you need to do is that the action of lot.   With the help of Photoshop Image Processor script.  The Action is a two-step

    N ° 1). File menu > automate > fit Image.  In the dialog box Image Fit you assign Width and Height 1600 pixels.

    Step 2.) Menu Image > canvas size.  In the canvas size dialog box, you assign Width and Height 1600 Pixels.

    Record the action in some action with a name like 1600PxSquare

    Then use the file menu to Photoshop > Scripts > image processor. In the dialog to the Image Processor script. Select your image source folder. Set where you want your jpeg images. Set it to save jpeg files quality 6.  Set it to include your 1600PxSquare action.

    Step adjustment image resize your image to fit in a 1600 x 1600 pixels are while keeping image proportions of images. Portrait image will be high 1600px and landscape image will be 1600px wide.  The step size canvas will add the canvas to make the place of the image.  Portraits will have a border on the left and right images of landscape will be confined to the op and downs.

  • Help with a Script to remove the additional paths and save

    Here are a few scripts that I have at the moment, but none work. With the first script, I get an error with the 'indexOf', and with the second script, it keeps only the second name listed in the string. How can I get either of these to work where I can remove all the paths, with the exception of multiple ones I want to keep?

    function deletepaths()
    {
      if (!documents.length) return false;
    
    
      var doc = activeDocument;
      var save = ["Ex1", "Ex2", "Ex3"];
    
    
      for (var x = 0; x < doc.pathItems.length; x++)
      {
        if (save.indexOf(doc.pathItems[x].name) == -1))
        {
          doc.pathItems[x].remove();
        }
      }
    }
    deletepaths();
    

    deletepaths();
    function deletepaths(){
    if(!documents.length) return;
    var doc = activeDocument;
    for(var a = doc.pathItems.length-1;a>-1;a--){
    if(doc.pathItems[a].name != ("ex1", "Ex2")) 
         doc.pathItems[a].remove();
      }
    }
    

    IndexOf does not work with extension script. Most likely, you would need a number if statement for many golds ' | ', or a loop in the loop goes well your path names.

  • How to remove the selected area with a script that would ignore the fact if the selected area is transparent or the fact that it has no selection?

    Hello

    My friend works on an action, who would edit images by removing the white background color. However, there are a lot of images with transparent background or after some other actions have no selection who had to be removed. And now he is facing simple problem, simple remove this feature brings a lot of table and the error Stops.

    The ideal solution to this problem would be if it would ba a script who could remove the selection and ignore stops as no selection and transparent.

    Can anyone help with this one?

    Settle into the Photoshop scripts forum.

    With a script, you would just put your code in a try/catch block. This intercept errors such as the selection of a transparent area and do not stop your script:

    try{
         //your code here
         }
    catch(e){
         //either no code, or code to do something if you get an error.
    }
    
  • Attempt to add a new data with a script store

    I have an interview put in place where I remove a store of data once a week and he re-clone of our SAN.  I'm stuck with the script to add to the store of data back.

    I try to get the LUN ID of the new store of data to add.

    What I have so far is:

    I have remove the vSphere data store and delete the SAN volume.

    Then for a list of the currently available SCSI LUN:

    Get-VMHostStorage - RescanAllHba

    Get-ScsiLun | Select CanonicalName | Out-file c:\scripts\Before.txt-largeur 120

    $Before = get-Content c:\scripts\Before.txt

    I have it dumped to a file to make sure, that it was not truncated at all.

    Then, I create the new volume on the SAN and get the new list LUNS:

    Get-VMHostStorage - RescanAllHba

    Get-ScsiLun | Select CanonicalName | Out-file c:\scripts\After.txt-largeur 120

    $After = get-Content c:\scripts\After.txt

    Then to set the variable to the new LUN ID:

    $LunID = compare-object $Before $After

    The problem I have is that the $LunID variable is set to

    @{InputObject = eui.0134d870bf1f182f6c9ce90064ee16c5; {SideIndicator == >}

    Instead of the value eui.0134d870bf1f182f6c9ce90064ee16c5 that I need.

    Is there a way when I set the variable or run the object - compare to select only the part of this line?

    The result should be in $LunID.InputObject.

  • Need help with a script (o - o8) *, see the Virgin if there is no

    Hi all what I need help with a script I can't find an example.

    I'm trying to subtract 2 numbers and then multiply this product. (o o8) * one but I just want to do the calculations if all fields have the numbers IE field o, o8 of field and field one.

    Thank you in advance. I was stuck on this days searching the Internet.

    Assuming you want to affect the outcome of this calculation in another text field, use this code as a custom field calculation script:

    var o = this.getField("o").valueAsString;
    var o8 = this.getField("o8").valueAsString;
    var a = this.getField("a").valueAsString;
    if (o!="" && o8!="" && a!="") event.value = (Number(o)-Number(o8))*Number(a);
    else event.value = "";
    

Maybe you are looking for