Email Activity Default value - OWB 10.1

Is there any way I can set a Specific value as defult value for Email Activity parameter for example SMTP_SERVER has 'LOCALHOST' as default value but I want to change it 'S012EX04' . so that I need not change the parameter value when I add an email activity in process flow.
Thank you,

Hi Peter
Create a manage bean class with this methods:
private oracle.jbo.domain.Date appCurrentDate;
private Date dateDefaultFrom;
private Date dateDefaultTo;
private Date initDate() {
java.util.Calendar c = Calendar.getInstance();
java.util.Date utilDate = c.getTime();
Timestamp st = new Timestamp(utilDate.getTime());
return new Date(st);
public Date getAppCurrentDate() {
appCurrentDate = initDate();
return appCurrentDate;
public Date getDateDefaultFrom() {
if(dateDefaultFrom== null) {
dateDefaultFrom= initDate(0, 0, 0);
return dateDefaultFrom;
return dateDefaultFrom;
public Date getDateDefaultTo() {
if(dateDefaultTo== null) {
dateDefaultTo= initDate(23, 59, 59);
return dateDefaultTo;
return dateDefaultTo;
private Date initDate(int hora, int min, int seg) {
java.util.Calendar c = Calendar.getInstance();
c.set(Calendar.HOUR_OF_DAY, hora);
c.set(Calendar.MINUTE, min);
c.set(Calendar.SECOND, seg);
java.util.Date utilDate = c.getTime();
Timestamp st = new Timestamp(utilDate.getTime());
return new Date(st);
Then in the jsp/jspx page definition set the defaultValue to the selectInputDate var:
DefaultValue="${myBeanClass.dateDefaultFrom.value}"
And
DefaultValue="${myBeanClass.dateDefaultTo.value}"
Good Luck.

Similar Messages

  • Email activity in OWB

    I tried to implement the Email activity if the OWB process flow.In the to_address and cc_address I gave some mail addresses . but one of the addresses was incorrect because of which the process failed and the mail didn't reach any of the recipients.
    is there any way in which i could deliver the mail to those other mail addresses that were correct.??
    could I also send mails to more than one SMTP servers??

    Any ideas?

  • Set a default value to checkbox on Active Directory form

    Hi all
    how to set a default value to checkbox UD_ADUSER_MUST on Active Directory form?
    I set the value 1 on the column default value (ADUSER form), i try the provisioning resource AD to the user and this field is not selected.
    please help me.

    hi
    My problem is solved, I tried to change the default form ADUSER, but this value was overridden by the policy form.
    I set this value in the policy form.
    thanks

  • How to edit the value in the email activity in process flow

    I have an email activity in my process flow.
    I want to change the value for the message body of the email activity. But it is not editable. While creation all the columns are in editable mode and after deploying and testing, i want to change the body of the email to be sent.
    How can i do it now? Please advice. This issue is in 6.0.4 release.
    Edited by: 910070 on Feb 17, 2012 12:48 AM

    got the solution after so much research !
    in 6.0.4, only way we can change the value for the message body or subject is to change the associate email procedure. which is something like edx_rpt_email.

  • How do I change iCalendar alerts to a non-default value, ie, send an email 2 days before event.

    How do I change iCalendar alerts to a non-default value, ie, send an email 2 days before event?

    cjphoto1 wrote:
    How do I change iCalendar alerts to a non-default value, ie, send an email 2 days before event?
    Open the Calendar app, open the event, tap Edit and change the Alert times.
    If you want to change the default time, Settings > Mail, Contacts, Calendars, scroll down to Calendars - Default Alert Times.

  • (OWB 10.2) Can I send system date and other variables in EMAIL activity?

    Hi all,
    I using email activity successfully but now I would like to add some variables in the email such as sysdate. I´ve seen that this is posible by creating a post-map with the utl procedures. Is it posible to do this without a post-mapping?
    Thanks!

    Any ideas?

  • Email activity not working on Clients site

    Hi,
    I created a Bpel process that contains an email activity, It works fine when I am connected to the Oracle network through VPN and while i am in the Oracle office.
    But when I am at the clients site or connected through VPN, it doesnt work at all.
    when I configure my ns_emails.xml to Oracle's info, it works fine but when its configured to clients info, it doesnt work.
    I have configured ns_emails.xml and wf_config.xml
    This is my ns_emails.xml when I am at the clients site._
    note:_ Since I am not using the Default domain for deployment, I changed the <Name> under <EmailAccount> to cdmsd since I am deploying my Bpel processes to the cdmsd domain.
    ^<EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"^
    ^ EmailMimeCharset=""^
    ^ NotificationMode="EMAIL">^
    ^ <EmailAccount>^
    ^ *<Name>cdmsd</Name>*^
    ^ <GeneralSettings>^
    ^ <FromName>Oracle BPM</FromName>^
    ^ <FromAddress>[email protected]</FromAddress>^
    ^ </GeneralSettings>^
    ^ <OutgoingServerSettings>^
    ^ <SMTPHost>mail.co.la.ca.us</SMTPHost>^
    ^ <SMTPPort>25</SMTPPort>^
    ^ </OutgoingServerSettings>^
    ^ <IncomingServerSettings>^
    ^ <Server>mail.co.la.ca.us</Server>^
    ^ <Port>25</Port>^
    ^ <Protocol>SMTP</Protocol>^
    ^ <UserName>[email protected]</UserName>^
    ^ <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Temp123</Password>^
    ^ <UseSSL>true</UseSSL>^
    ^ <Folder>Inbox</Folder>^
    ^ <PollingFrequency>1</PollingFrequency>^
    ^ <PostReadOperation>^
    ^ <MarkAsRead/>^
    ^ </PostReadOperation>^
    ^ </IncomingServerSettings>^
    ^ </EmailAccount>^
    ^</EmailAccounts>^
    and for wf_config.xml I only add one line_
    ^<property name="oracle.bpel.services.notification.publisher_interval" value="1" />^
    I dont understand why its not working while I am on the clients site ?? any ideas ??
    could it be a network issue on their side ??

    I pinged my email server and I got the following:
    {size:12pt}
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),{size}
    Edited by: user9976478 on Jan 30, 2009 2:09 PM

  • Variable passing to an email activity

    Hi,
    In my simple process flow I have:
    START--------TRANSFORMATION (procedure call)--------EMAIL ACTIVITY--------END
    My procedure has an output parameter (which consists of an email address).
    In the transformation, the output parameter is passed into a variable VAR1.
    In my EMAIL activity, the TO_ADDRESS parameter is assigned VAR1.
    My problem is, when I validate the processflow it comes up with the error:
    "VLD-10034: Parameter TO_ADDRESS is bound to variable VAR1, but VAR1 has no default value set. For a processflow to be valid the bound parameter or variable should have a default value."
    So I assigned the variable VAR1 a default value (I entered a valid email address), the processflow validates successfully, but when I run it, it fails with an error.
    It's the variable that's causing a problem as when I hard-code an email address in the TO_ADDRESS parameter it runs without a problem.
    Do you have any ideas why the variable is failing when a default value is set?
    Thanks for any replies
    Ansel

    Hi Armands
    I managed to sort this one out.
    I stripped out the transformation from the processflow to simplify it as much as possible.
    So I had:
    START-------- EMAIL ACTIVITY--------END
    The problem was where it was forcing me to enter a default value for the variable VAR1 (where VAR1 was assigned to the TO_ADDRESS parameter in the email activity).
    I entered an email address as the default value in VAR1, and it failed. So I changed the value to 'aaa', and it failed.
    But it DIDN'T fail when I entered '1' (even though the variable is of a string type).
    So it's working now.
    Thank you for taking the time to try to understand my problem.
    Ansel

  • Default values in CAT2

    Hello All!
    I'm configuring a data entry profile CATS for HR and CO. I'm using Infotype 315 for default values in CAT2 (activity type and cost centre), but when I enter the target hours in CAT2 the only field that get defaulted is A/A type. I have made the proper customization in tranzaction CAC1 (configuration of data entry profile) and I have entered data in 315.
    Can you please help me?
    Tks

    Hi,
    I hope you got his id. Anyway, his id is [email protected] Your query will end up with him. He is genious in CATS.
    Meanwhile, you can find his connection from my ittoolbox profile.
    http://ittoolbox.com/profiles/omprakash_hr
    Let me know the status, once you posted your query to him. I will help you, if you couldn't catch him.
    Good Luck.
    Om.

  • Email Activity Template

    Hi,
    I've created an email activity template, and I've added this to many of my process flows.
    It's all working great and emails are being fired.
    Within the set-up parameters of the email activity template, I've changed default value of the 'TO_ADDRESS' parameter (so it sends the emails to another person).
    I did expected the change of the 'TO_ADDRESS' to be inherited by the email activity in my process flows.
    Is there something I'm missing, should it not work in this way?
    If not, how else could I change the email address in one place so it could replicate to all the other email activities I've set up in my process flows?
    Many thanks for your help.
    Ansel

    Hi ansel,
    You can store emails in some parameter table and in process flow add some function which will return email values (In this case you must redesign your flows).
    There can be also other solutions.
    Regards

  • Email activity

    how to use email activity in process flows of owb?

    Hi,
    select each parameter in the structure window and set its value in the property window.
    Oracle does not provide a mail server, you have to use an existing one.
    Ask your mail servers administrator if you are not sure about the parameters.
    Regards,
    Carsten.

  • Unable to set up the default value in custom object 10,related item section

    Hi,
    Please help me out for the below issue
    Custom Object 10 we renamed to Quarterly Broker Review .In Quarterly Broker Review there is a related item section 'Activity'.
    In Quarterly Broker Review ,Activity related Section ,After clicking on The 'New Task' button 'Account Name' field in Quarterly Broker Review(Parent ) should be prefilled in the Activity Section(Related Item Section) in Account Name Field
    'Account Name' field is a Picklist Read Only field.
    Since it is a picklist read only field i couldn't write the expression in the 'Activity' Related section under 'Account Name' field
    you can also help me by reaching at '[email protected]'
    Thanks,
    Srinivas Merugu

    Hi Srinivas,
    As you know, you can refer to a field in a different object by using JoinFieldValue function. But this function is not available for all the object references. If you refer online help for JoinFieldValue function you would notice that from activity only CustomObjects 1,2 an 3 can be referenced using this function.
    If this is possible for the activity and CustomObject 10 then you go to the field named Account Id in Activity object and set a default value. I guess in the parent object "CustomObject10" Account Id will also be stored in "Account: Integration ID". So this field value can be copied into the Account Id field of Activity.
    Instead you could write a web service program to achieve this.
    Thanks
    Naren

  • Enabling 'submit' button in email activity

    All,
    version:11.1.1.4
    I'm trying to configure an email activity in an async bpel as below
    <body><form action="http://localhost:7001/soa-infra/services/default/AdvanceShipNotice/AdvanceShipNoticeResend?WSDL"> First name:<br> <input type="text" name="firstname" value="Mickey"> <br> Last name:<br> <input type="text" name="lastname" value="Mouse"> <br><br> <input type="submit" value="Submit"> </form></body>
    The deployment went through fine, but when I got an email it just print the above html body as simple text.  What am I missing?  Please advise.
    thanks
    sen

    Hi,
    Can you try converting this Message to CDATA by using toCDATA() Method.
    Regards,
    Vyshali M

  • Using email activity in Process Flow

    Hi
    I am creating a process flow in owb, in it I am using the email activity, that if its a success or error then send the email. In the email activity parameters there is an option of binding, so can some one tell me that how will it work and how can I use binding with email.
    Thanks
    Salman

    Hi Salman,
    add the wanted parameters (smtp server, port, to_address...) to the start_1 operator in your processflow (see another thread in this folder how to do this, because it doesn't work properly). Set the values in this operator. Bind the parameters of the email activities to these parameters. You have to fill the from and to address in each email activity even if they are bound, otherwise you will receive an error, that the values are empty. This is another bug in my opinion, isn't it...
    Regards,
    Torsten

  • How to set default value for a drop down in Mobile Application Studio

    Hi,
    We have a requirement in which for a drop down - Transaction type (Activities), the value should be defaulted to 'Visit' and the Activity Category should be 'Sales Visit'. I tried debugging the code and got the piece of code where this value is referred, but i'm unable to find out the location where this value is picked from. Also while opening up the properties corresponding to this, there is a default value tab in the properties pane. I tried by giving this default value, but didn't work. When I'm trying to revert the changes i've made in the property, it is showing up an error.
    Any pointers on this would be of great help.
    Thanks in advance,
    Rasmi.

    Hi Rasmi,
    You can default the process type field of BOACTIVITY by different ways-
    1.In BOL, business object BOACTIVITY loaded event, check the parameter bIsNew and then default the value of process type if you want it only for new activities.
    Other attributes currently get defaulted in the attributechanged event of BOACTIVITY where field is processtype.So if processtype is defaulted it will try to default other attributes based on that.It will pick values from the customizing maintained in SPRO->CRM->Transactions->Basic Settings->Define Transaction Type->Customizing Header.
    2.You can also do defaulting in the UI.If you want to default one field based on a value selected for drop down, then write the code in the onselected2 event of the drop down.
    In your specific case, best way is to use option 1.
    Regards
    Vivek

Maybe you are looking for

  • Using Multiple Ipods on one PC

    I am trying to use my PC to host 2 Ipods, 1 nano, 1 video. I have created 2 user accounts to cater for this, however this slows down the pc to a crawl. Can anyone give instuctions or direct me to another option. Thank you all, DJS.   Windows XP  

  • Importing Class to Custom Class

    I'm writing my own class. (The Peacock class if you want to know.) I want to use the Tween class in my class, but I don't know how to import another class into my class. How do I go about that. Thanks.

  • Broken power button

    broken power button

  • Diffrence in running oracle on 32 bit OS and 64 bit OS ?

    Hi , I am new to oracle , i would like to know what's the diffrence running oracle under 32 bit OS and 64 bit OS

  • How do you restore a previous backup?

    I can't figure this out for the life of me. I've found them in the Edit, Preferences, Sync menu but there's no option to roll back to a previous saved state. Anyone know how to do that?!?