Help writing a workflow rule

Hello Experts!!!
I need help writing a workflow rule condition to trigger the workflow. What I am aiming for is an email to be sent out when an opportunity is marked Closed/Won. But it can only be of a certain opportunity type (we use three options) and opportunity sub-type (we use two options) (these are custom fields we use)
Below are the fields that need to be used:
[<SalesStage>] = Closed/Won
[<OpportunityType>] = Acute
[<plOpportunity_SubType_ITAG>] = Tech
Thanks Again!!

Hi
Try:
[<SalesStage>] = Closed/Won AND [<OpportunityType>] = Acute AND [<plOpportunity_SubType_ITAG>] ='Tech'
Note that in case of picklists it is recomended to use the lookup value and not static text like 'Tech', but both will work.
Good luck
Guy

Similar Messages

  • Need help writing a workflow rule

    Hi all!
    I want to write a workflow that will populate the "Region" field when a new account is saved.
    We use territories, but cannot effectively pulll contact reports due to OnDemand not having the Territory field in the Contact reporting area. (In the contact reporting area you can only pull by "Region")
    When we originally set up OnDemand during the data conversion from UpShot, we set up our regions to be the same as the territories. However at this time "Region" is not a field we use, due to the need of creating accounts to be a simple as possible. So what I want to do is link the "region" field to the "Territory" field, so that when a new account is saved that field will automatically populate.
    Also is using a workflow the only way to do this?
    Thanks in advance!!!

    The JoinFieldValue expression I put in my last post is exactly what you need. Just copy it exactly as you see it and past it in the Default Value box. You will not need to write 20 expressions. The Territory Name field in my expression is available in Territory, but you wouldn't see it in the field dropdown in Account when creating the post default.
    Ok, so to test this, please copy the expression in the default value exactly as I have it above. Then check the Post Default flag. Then save your changes. You must ensure that the Territory and Region picklists are consistent. They must match exactly. Finally, you will need to log out and log back in and create a new account and pick the Territory.
    Let me know how it goes.
    Thom

  • Help with applescript/workflow/rule that would unflag mail when read (...)

    Here's my scenario:
    I have quite many mail.app rules that automatically filter and file incoming mails from newsletters, SNS, work, friends etc. and they all go in specific mailboxes (200+)
    I also have some rules that I trigger using MailActOn.
    Since with Lion theres now 6 different flags (and that you can rename them) I've included them in the rules actions and set them up to the following categories:
    - To Do
    - To Do Later
    - To File
    - News
    - Personal
    This actually allows me to have these smart mailboxes to appear only when they are flags active.
    Now for the first three I want to keep the flags permanently until I'm actully done with them.
    But for the "news" and "personal" ones I want to have them "unflag" once I read them.
    So to recap, is there a way to systematicall/periodically unflag messages when they are read from specific mailboxes or if they are flagged with a particular flag?
    I'd really appreciate if someone would help me out figure out an adequate solution to what I'd like to achieve.
    I'm not sure if a kind of a combination of either applescript/workflow/rule would actually make it work...

    Here's my scenario:
    I have quite many mail.app rules that automatically filter and file incoming mails from newsletters, SNS, work, friends etc. and they all go in specific mailboxes (200+)
    I also have some rules that I trigger using MailActOn.
    Since with Lion theres now 6 different flags (and that you can rename them) I've included them in the rules actions and set them up to the following categories:
    - To Do
    - To Do Later
    - To File
    - News
    - Personal
    This actually allows me to have these smart mailboxes to appear only when they are flags active.
    Now for the first three I want to keep the flags permanently until I'm actully done with them.
    But for the "news" and "personal" ones I want to have them "unflag" once I read them.
    So to recap, is there a way to systematicall/periodically unflag messages when they are read from specific mailboxes or if they are flagged with a particular flag?
    I'd really appreciate if someone would help me out figure out an adequate solution to what I'd like to achieve.
    I'm not sure if a kind of a combination of either applescript/workflow/rule would actually make it work...

  • Need help writing a Java rule in PDF Forms

    I have created an invoice for my contractors via "forms", and in turn made each cell either a drop down list or "read only" field so they cannot change the rate of pay, etc.  Here is my issue...My first drop down cell is titled "Job Description".  When the contractor selects one of the 8 dropdown options within the Job Description field, I would like it to automatically fill in the hourly rate that is associated with that particular job description (or skill).  I currently have my "rate" cell as a drop down, and I want to make that a read only, and when you select the A1 position from Job Description, it will populate the "rate" field with the appropriate amount for that A1 rate.  I believe this can be done with writing some Java script, but I have never played with Java and I don't really have the time to teach myself.  If anyone can help with me a quick tutorial, or even the formula I should use, so that I can just plug and play, that would be super helpful.  If this is a time consuming issue, I would be interested in paying someone to do it for me. Thank you!

    Hi George,
    I was able to copy my data over to a fresh document, and now it works just fine....thank you so much for your insight and help!
    I have another question if you have a moment. 
    I am trying to do a simple calculation of start time and end time for my employees.  Do I need to do this via a javascript, and if so, what area in properties of the result field should I copy it to?  for the purpose of the script, the fields are as follows:
    DataField1 = start time
    DataField2 = end time
    DataField3 = total time
    I would like to use the h:MM tt format for my time fields if possible.
    I've attached a link to the file through my dropbox account, and you'll notice that I created three new fields at the top of the invoice just to test the time calculations before i mock up the whole document.
    Dropbox - Contractor Invoice Template (1).pdf
    Any help you can give me would awesome! 
    Thank you!!

  • Unable to evaluate workflow rule - Value too long for field

    Need help with a workflow error for a record update before the record is saved. There are 3 calculations that would be done in a particular order - all on number fields. Each time, I am overwriting existing values. The individual numbers could have up to 6 decimal spaces. When I try to update one or more fields that contain the calculation, I get an error message saying that the system is unable to evaluate the workflow rule - value too long for field (zNum6).
    This same calculation is fine when a new record is entered and the calculation is done as a default field value.
    Any ideas?

    I actually had to use a ToChar function at the beginning of the calculation and #### to indicate the number of digits to make this work. Oracle Help Desk provided the answer - quickly.

  • How to write workflow rules/expressions/SQL

    Hi all.
    We are recent users of CRM onDemand, we would like to write some workflow rules but cannot seem to find any information on how to do this. The help section is limited in answers, and some of the questions here are also not specific to what we would like to do.
    Does anyone have any advice on books, web sites, etc. on where to find the knowledge we need on how to write the workflow rules and use SQL and expressions in CRM on Demand?
    Thanks in advance!!

    For your first case:
    1. You cannot create a workflow in r15 for activity but in R16 you can
    Create new to create a workflow
    Name: Auto email send
    record type: activity
    trigger: when new record saved
    rules: put your rules by clicking on the fx icon i.e this is where you are entering the rule saying the owner is different from the person who is creating the activity or the delegated field is filled (another way of looking at it)
    then save the workflow
    In the actions section
    choose the action "Create Email Notification"
    In the To: Section choose "Relative User on Record" and Choose "Activity Owner"
    Save it. Make sure both the workflow and activity are marked active.
    2. In your second scenario:
    How do you expect to create an account and automatically populate the Sales rep's name - not sure
    But you can create an opportunity and auto fill with the Account Owner's name by using this in the field validation (you do not need the workflow), you can use the FieldValueJoin function.
    Hope this helps - btb there is no book you can go thro the help and you will find some directions

  • Workflow Rule Condition : impact of the "LookupValue"

    Hello,
    I would like to know something about he "LookupValue" (eg.1) impact in the "workflow rule condition". What is exactly the role of the "LookupValue"? Does it have an impact if I decide to delete it and just write the value needed (eg. 2) ?
    eg.1 : ... =LookupValue("OCC_CUST_LOV_OPTY_4", "Value Needed")
    eg.2 : ... =("Value Needed")
    Could someone help me?
    Thanks and regards.
    Edited by: user5840933 on 5 mars 2009 03:44

    Hi !
    The lookupValue function is very useful. Imagine you created 10 workflows with a condition such as : PICKLIST="Value".
    Then imagine you have to modify the "Value" of this picklist in "Value2" for example. This means you will have to update your 10 workflows to put "Value2" instead of "Value".
    Using the LookupValue function, it will automatically get the picklist value based on the code corresponding to the value.
    LookupValue(PICKLIST, "A") will return the value corresponding to the code "A", no matter what the value is.
    In the expression builder, after chosing the field in the picklist, click on the link "Get acceptable values". Then click on a value and the LookupValue function will appear in your expression.
    Hope this will help, feel free to ask more !
    Max
    [See Mike L announcement|http://forums.oracle.com/forums/ann.jspa?annID=883]

  • Need help with a workflow that will restrict resize to 720x540

    I need help constructing a workflow that will resize any image I choose to 720x540. I want this to be restrictive to this size, in other words I don't want 720x468 or etc. I have tried this too many times, will no success so now I am reaching out for help. HELP. Once I have correct resized an image as needed I want to change its format and save a copy.
    As always thanks for your reading and replying to my Post,
    Sebastian

    Hi there,
    what Image editing software do you have, if any ?
    regards
    Ric

  • Need help writing host program using LabView.

    Need help writing host program using LabView.
    Hello,
    I'm designing a HID device, and I want to write a host program using National Instrument's LabView. NI doesn't have any software support for USB, so I'm trying to write a few C dll files and link them to Call Library Functions. NI has some documentation on how to do this, but it's not exactly easy reading.
    I've written a few C console programs (running Win 2K) using the PC host software example for a HID device from John Hyde's book "USB by design", and they run ok. From Hyde's example program, I've written a few functions that use a few API functions each. This makes the main program more streamlined. The functions are; GetHIDPath, OpenHID, GetHIDInfo, Writ
    eHID, ReadHIC, and CloseHID. As I mentioned, my main program runs well with these functions.
    My strategy is to make dll files from these functions and load them into LabView Call Library Functions. However, I'm having a number of subtle problems in trying to do this. The big problem I'm having now are build errors when I try to build to a dll.
    I'm writing this post for a few reasons. First, I'm wondering if there are any LabView programmers who have already written USB HID host programs, and if they could give me some advice. Or, I would be grateful if a LabView or Visual C programmer could help me work out the programming problems that I'm having with my current program. If I get this LabView program working I would be happy to share it. I'm also wondering if there might already be any USB IHD LabView that I could download.
    Any help would be appreciated.
    Regards, George
    George Dorian
    Sutter Instruments
    51 Digital DR.
    Novato, CA 94949
    USA
    [email protected]
    m
    (415) 883-0128
    FAX (415) 883-0572

    George may not answer you.  He hasn't been online here for almost eight years.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Create opportunity using workflow rule

    Hi,
    Is there a way to create an opportunity record using a workflow rule.
    We want to be able to create a service opportunity to be triggered automatically by the sales person by either updating a flag or check box which inturn triggers
    a workflow rule that can create an opportunity.
    I am aware of using a web link to copy an existing opportunity.
    Any ideas ?
    Thanks
    Swami

    At this time this is possible by using Integration Events and using web services. CRMOD does not support Workflows that will automatically create an opportunity using a workflow

  • Workflow rules doesn't work for existing record!!?!?!?

    Hi all,
    I've created one workflow rule to update value from one filed to another. Here is my expression:
    [<QuickSearch1>] <> [<plStatus_ITAG>]
    and my action is
    field name = "*Status" (QuickSearch1)
    Value = <plStatus_ITAG>
    and I tick on the Overwrite the existing value
    This is work for new record, but for the existing one the field value doesn't chnage. Any suggestion??
    Thanks
    Note

    The syntax should be: PRE('< QuickSearch1>') <> [<QuickSearch1>] for the condition.

  • Need help writing a query for following scenario

    Hi all, I need some help writing a query for the following case:
    One Table : My_Table
    Row Count: App 5000
    Columns of Interest: AA and BB
    Scenario: AA contains some names of which BB contains the corresponding ID. Some
    names are appearing more than once with different IDs. For example,
    AA BB
    Dummy 10
    Me 20
    Me 30
    Me 40
    You 70
    Me 50
    Output needed: I need to write a query that will display only all the repeating names with their corresponding IDs excluding all other records.
    I would appreciate any input. Thanks

    Is it possible to have a records with the same values for AA and BB? Are you interested in these rows or do you only care about rows with the same value of AA and different BB?
    With a slight modification of a previous posting you can only select those rows that have distinct values of BB for the same value of AA
    WITH t AS (
    SELECT 'me' aa, 10 bb FROM dual
    UNION ALL
    SELECT 'me' aa, 20 bb FROM dual
    UNION ALL
    SELECT 'you' aa, 30 bb FROM dual
    UNION ALL
    SELECT 'you' aa, 30 bb FROM dual
    SELECT DISTINCT aa, bb
      FROM (SELECT aa, bb, COUNT(DISTINCT bb) OVER(PARTITION BY aa) cnt FROM t)
    WHERE cnt > 1;

  • I need help writing a script that finds the first instance of a paragraph style and then changes it

    I need help writing a script that finds the first instance of a paragraph style and then changes it to another paragraph style.  I don't necessarily need someone to write the whole thing, by biggest problem is figuring how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thanks!

    Hi,
    Do you mean first instance of the paragraph style
    - in a chosen story;
    - on some chosen page in every text frames, looking from its top to the bottom;
    - in a entire document, looking from its beginning to the end, including hidden layers, master pages, footnotes etc...?
    If story...
    You could set app.findTextPreferences.appliedParagraphStyle to your "Style".
    Story.findText() gives an array of matches. 1st array's element is a 1st occurence.
    so:
    Story.findText()[0].appliedParagraphStyle = Style_1;
    //==> this will change a paraStyle of 1st occurence of story to "Style_1".
    If other cases...
    You would need to be more accurate.
    rgds

  • Need help writing small program!

    Hi. I'm learning Java programming, and I need help writing a small program. Please someone help me.
    Directions:
    Create a program called CerealCompare using an if-then-else structure that obtains the price and number of ounces in a box for two boxes of cereal. The program should then output which box costs less per ounce.

    class CerealCompare {
        public static void main(String[] args) {
            // your code goes here
    }Hope that helps.
    P.S. Java does not have an if-then-else statement.

  • Help writing a excel macro to do a copy of 4 cells and paste transpose. I need to loop the copy and paste through 6900 rows of data.

      I need help writing a excelmacro to do a copy of 4 cells and paste transpose.  I need to loop the copy and paste through 6900 rows of data.  I started the macro with two rounds of copying & paster transposed but I need help getting it
    to loop through all rows.  Here is what macro looks like now.
        Range("I2:I5").Select
        Application.CutCopyMode = False
        Selection.Copy
        Range("J2").Select
        Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
            False, Transpose:=True
        Range("I6:I9").Select
        Application.CutCopyMode = False
        Selection.Copy
        Range("J6").Select
        Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
            False, Transpose:=True
    End Sub

    Thanks Jim for the solution above.
    Hi Brogents,
    Thanks for posting in our forum. Please note that this forum focuses on questions and feedback for Microsoft Office client. For any
    VBA/Macro related issues, I would suggest you to post in the forum of
    Excel for Developers, where you can get more experienced responses:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • How to refresh the data in published HTML?

    Hi All, I have created a Process Engineering diagram, whcih represents flow of material from Equipment to another equipment. I have binded the diagram to data from the data base and saved/published as HTML to view it in browser. So far it is fine. Bu

  • Unable to install steam in Windows 7 bootcamp

    Hi all. I've got a 2010 mb pro and installed steam in windows 7 using bootcamp. I cannot seem to get steam to update. It gives me the message saying steam sever unavailable. I do not get this problem with steam in os x and steam running on my windows

  • What's wrong with this IF / ELSE statement? ASP/VBScript

    Hi, I'm trying to display a section, within an ASP page, where the customer logged in is the same as the customer who placed the order, identified by their "customerID". <%IF (rsUser.Fields.Item("customerID").Value) = "(rsOrderDetails.Fields.Item("&

  • FCE: Capturing footage from my Canon XL1

    Got FCE and when capturing footage from my Canon XL1 I get the video however there is no audio! Tried capturing footage via iMovies and works no problem! Not sure if this has anything to do with it but I'm using a external mic. on my XL1 into one ch.

  • EJB Timer Service

    I've been trying to get the javax.ejb.TimerService working. As stated in the J2EE 1.4 tutorial, it is possible to use the TimerService in an entity bean. In fact, it states that if I wanted a timer for each instance of an entity bean, to create the t