Workflow Action to update Picklist field

Hi,
I created a workflow. I want the workflow to do the following.
Workflow Conidtion*
If Condition is PM20 Bid Decision or PM20 No Bid then perform workflow actions.
[<plMileston_ITAG>]=LookupValue("OCC_CUST_LOV_OPTY_6", "PM020 Bid Decision") OR [<plMileston_ITAG>]=LookupValue("OCC_CUST_LOV_OPTY_6", "PM020 No Bid Decision")
Workflow Action*
FieldValue('<plProject_Category_ITAG>')=LookupValue("OCC_CUST_LOV_OPTY_2", "A")
I tried various combinations of using FieldValue,Just by putting the FieldName = A. Nothing works..I know the workflow Condition is working because when I update a free form text I am able to append the field. When I try to update a Picklist (Editable) it does not work. Dont know the reasons.
Also what is the standard way of updating a Picklist field using workflow.
Thanks for your help in advance
Gautam

Hi !
I assume you created a workflow with the event trigger *"Before modified record saved"*.
Then you action Update values must be :
Field Name : select the picklist you want to update
Value : simply put LookupValue("OCC_CUST_LOV_OPTY_2", "A")
Overwrite Existing Values : check the box it if you want your picklist updated even if already filled
You don't have to repeat the fieldname in the value field of your action. It seems that you put FieldValue('<plProject_Category_ITAG>')= in the value field, but with that, it will not work.
Hope this will help, feel free to ask more !
Max

Similar Messages

  • Field Update workflow action - Updating today's date into a field

    Hello there.
    I was hoping someone might be able to help with an error currently being experienced with regards to this workflow action.
    The requirement is for a workflow rule to action the printing of today's date into a custom field on an Activity record. The workflow rule condition is (PRE('<Status>') <> 'Completed') AND ([<Status>] = 'Completed'). This appears to be working and triggering the action correctly.
    The custom field to be updated is of type 'Date'. The value being updated into this field is 'Today()'. Overwrite existing values is checked.
    The default value for the field is also 'Today()'. Thus the workflow action involves overwriting the default value (i.e. the date the record was created) to the current date when the Status is switched to completed.
    When the workflow is triggered the following error message occurs:
    "Unable to evaluate workflow rule for the following reason:
    Update [Custom field name] : The value '01/18/2008' cannot be converted to a date time value. (SBL-DAT-00359) (SBL-ODS-00500)"
    One odd observation is that this error only occurs when trying to update activities that were created on previous days - (it will not overwrite the default value of 15/01/2008 with 18/01/2008). The workflow does not return an error message when asked to overwrite a value which is equal to itself (i.e. if the default value was 18/01/2008, the workflow runs without error, although the value stays the same as you would expect.)
    Can anyone shed any light on this? One potential thought is that our CRM is set up so that all dates appear in a different format - i.e. dates appear as dd/mm/yyy, rather than mm/dd/yyyy. Could this be contributing to this issue?
    Any help very much appreciated indeed.
    Thanks,
    Kieran
    ps. The reason for doing all this is that 'Completed date' for an activity does not appear in reporting. This has been raised with Oracle and apparently an 'enhancement request' has been registered.

    Guys,
    using the following statement, it does display the current system time
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp(),12,8)
    Now When i do this , it displays me a time which is 3 hours ahead
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp() + (3.0/24.0),12,8)
    My problem is to now display the difference of the current time stamp and the the time which shows 3 hours ahead in one field
    Thats is substracting the first timestamp syntax fro mthe second timestamp syntax
    and ofcourse if I copy paste both the syntaxes and put a minus sign in between, it doesnt work
    Timestamdiff is not allowed in workflows or field validations :(
    Anyone has any ideas?
    Nick

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information using Update Item action

       I got error  "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I  found out the cause is  Update Item action       
    I need to update item in another List call Customer Report ,the field call "Issues"  with data type  "Choice"   to yes
    then the error arise .   please help..

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • Workflow Action: Trouble adding a new line in "Description" field.

    Hi folks. I'm really having a difficult time with this one and it seems so simple...
    I am struggling with how to get a field update action to enter a line break in a note field. I've tried "\n", "\n\r", "chr(13)", "chr(10)", "<br>" and so on.... it just puts the text of what I use into the Description.
    Here's the simplified workflow action...
    [<NextStep>] + "\ \n" + PRE('<Description>')
    What it's supposed to do.. is every time someone updates the field [<NextStep>], I want to replace the contents of the description field with the new value for nextstep (plus a new line) and then followed by everything that was in the description field previously. This way I have a running log in the description field.
    Idealy it should put:
    Today() + ": " + [<NextStep>] + <line break> + PRE('<Description>')
    but when I add the Today() it ignores everything that follows. I'm not as worried about that as I am about the inablity to put in the line beak. Please help!!!
    Thanks!
    Edited by: ThinkGadget on May 11, 2009 9:13 AM because the forum interpreted the "\\n"
    Edited by: ThinkGadget on May 11, 2009 9:15 AM (I put a space between the two back slashes so that the forum doesn't interpret it as a new line)

    I had used the "\\n" in my expressions to add a new line in the Description field. Only issue is also add a \ to the end of line but that was acceptable in my case. We are on OOD R16.

  • Workflow action on Custom Field

    Is it possible to create Workflow rule action 'Update Field After Wait Action' on a custom field?

    Yes, you can.
    Regards,
    Som

  • SPD Workflow 2010 how to update Lookup field to none

    Hi,
    I need to use SPD Workflow 2010 to update a Lookup field in different list to none. Can there be any possible approach to follow?
    Thanks,
    Kunal

    Hi Kunal,
    As I tested, you could use the action in workflow as below:
    listAtitle is a lookup column in my test, just manually input number zero in "To this value".
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Problem in Updating a field in corpNAB resource through workflows

    Hi,
    I am working in Sun Java system identity manager 7.1 version.
    I have created one workflow which sends a list of Ids to a sub work flow,The sub workflow updates a field called user name in person document of corpNAB resource for each user.
    Username consists set of values like fullname,certifier etc.
    I am appendng each such values to a list and setting in the person document.
    The order in which i am appending the values is not reflecting in the corpNAB person document field.
    Please refer to the code and help me to solve.
    Thanks in advance.
      <append name='user.accounts[CorpNAB].FullName'>
              <concat>
                <ref>short_name</ref>
                <s>/Corp/lexmark</s>
              </concat>
              <concat>
                <ref>fullname</ref>
                <s>/Corp/lexmark</s>
              </concat>
              <concat>
                <ref>fullname</ref>
                <ref>temp_cert</ref>
              </concat>
              <ref>short_name</ref>
              <ref>fullname</ref>
            </append>

    Hi..
    Change ur Select statement as below .
    <b>select knumv sum(kbetr)</b>
    from konv
    into table it_konv
    for all entries in it_vbrk
    where kschl = 'ZFQT'
    and knumv = it_vbrk-knumv
    <b>group by knumv .</b>
    Here you need not to Retrieve the Field KSCHL since it is anyway given in the WHERE clause.
    Let me know incase of any other issue.
    <b>Reward if Helpful.</b>

  • Updated By field value during workflows.

    Hi Experts,
    The updated by field displays the value as [system] when i update a field that triggers a workflow. I read in the documentation and it says if the Workflow Owner is the [launcher] then updated by shall always show as [system].
    This works as expected in my QA environment.
    But in dev when i update a field that triggers a workflow the Updated by Field changes to Admin. The workflow properties are the same in QA and Dev.
    Are there any other places that a workflow config is done such a username pwd that it uses. I have a feeling its using the Admin Id login details somewhere due to which updated by field displays the value as Admin, even though i update the record with another ID.
    Regards,
    Aditya...

    Hello Aditya Dhurandhar - DHUA
    Just check your user role, if it different with Admin  - check roles workflow permissions.
    Regards
    Kanstantsin Chernichenka

  • Timebased workflow to update Status field

    Hi,
    Our requirement is to set status to 'Closed' after 15 days of opening an SR. Please let me know if any of you addressed similar requirement.
    Thanks in advance!
    m

    A new feature in R18 allows you to update a field through Workflow after waiting for a certain period I guess that should help you
    Regards,
    Deepak

  • SC Workflow not updating standard field

    Hi,
    I am using SRM 5.0 .After approval of SC which have multiple item not updating standard field of source_ind to all the line items .
    It's getting updated in only first line item .
    Recent Package : SAP_ABA SAPKA70011
    Thanks ,
    Sachin

    Hi,
    DO you mean to tell that after the shopping cart is approved , only the first item is send to the sourcing cockpit?
    ANd the other items of the shopping cart are not send to the sourcing cockpit?
    Can you please compare the category for the two lines? is it the same?
    can you check wether the category mentioned for the second line has got category which has been configured for sourcing cockpit?

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • How does the Updated by Field Work....

    Hi Experts,
    Can anyone help on how the *Updated By* field values are populated, specially when the values are updated through a Workflow.
    I read the following in the MDM Documentation.
    If trigger action is Record Add, Record Update, or Record Import for a workflow. The [System] is the creator and launcher of the job but is not a real user.
    This is even true if the Owner of the workflow is the Admin.
    After our server migration was done, instead of showing [System] as the Updated By it now shows the Admin.
    What could be the reason for this. Do i need to contact SAP or is there something that needs to be done at the respository level to get the Updated By field to work as expected.
    Regards,
    Aditya.

    Hi Aditya,
    As far as i am concerned, this is not true. Field Updated by type of User Stamp should only show user's which are there in User's table of MDM console under node Admin-->Users. When we don't have any User of repository with name System, there is no point it will show you user System for field Updated by.
    Query 1: Can you please confirm, do you have this User "system" available in your repository under node admin-->Users in MDM console ?
    Query 2: Also, After our server migration was done, instead of showing System as the Updated By it now shows the Admin.
    I seriously have doubt on this. Can you please check do you have really user System for existing records too? I mean you can do Free-form search for field Updated by with value system. I am sure even for existing records (whether in before server migration or in existing) you will not get single record with field updated by "system" . Can you please confirm on this ?
    May be I am wrong, so kindly revert with your findings and confirm above both queries..?
    Regards,
    Mandeep Saini

  • Arithmetic operations using Picklist field values

    Hi,
    I tried to multiply a picklist field value as below and wanted to store the result in a field (datatype = Integer or Number) using a workflow which triggers based on the Trigger Event "Before modified record saved".
    Criticality = [<plFrequency_of_Occurrence_ITAG>] * 10
    It throws an error:
    "Update Criticality : Value too long for field 'ZNum_0' (maximum size 16). (SBL-DAT-00235)(SBL-ODS-00500)"
    Can't we do arithmetic operations on the Picklist fields? I believe this is because the values are being stored as text??
    Do we have a function to convert the character field to numeric before we perform any arithmetic operations?
    Thanks,
    Sriram

    Hi,
    You're right, you can't perform arithmetic operations with a number and a text. That's why you get the error.
    Today, there's no function you can use to convert a text to a number.
    You'll need to create a SR asking for a Change Request.
    Regards,
    Max

  • Specific Due Date Syntax for Create Task Workflow Action

    I'm looking for a formula which will create a monthly due date on a specific day of the month (ie 1st or 15th). I have figured out a way to create recurring activities through workflows by adding a recuurence picklist but I currently only have monthly recurrences as Today()+30 which works but is not as clean as a monthly task that occurs on the 15th of every month.

    Record Type=Activity
    Event=When modified record saved
    Workflow condition=FieldValue('<Type>')='To Do' AND FieldValue('<plRecurrence_ITAG>')='Every 30 days' AND FieldValue('<Status>')='Completed'
    Actions=Create Task
    Recurrence picklist is a required field and is chosen be the end user upon creation of the original activity (Type=To Do). The duplicate activity is created upon completion (see condition) and now the end user has a recurring task due 30 days out. this future task has the recurrence in the subject (since the recurrence field cannot be defined in the workflow action) and the end user is prompted by the system to complete the activity record (choose a recurrence) upon trying to save the record as complete or by clicking the "Mark as completed" button. Thus the cycle is repeated.
    All I'm trying to figure out is instead of having the formula [<DueDate>]+30 in the Due Date* field within the create task workflow action, I'd like a formula that can choose a specific day of the month. I've tried combinations of cast, concat, timeframe, month, year...expressions to give me the date value I'm looking for (ie 4/15/2011) but I can't get the syntax to work. all I need is that syntax that can provide a specific date (4/15/2011) derived from the due date.

  • Workflow Action on Before modified record saved

    Hi,
    When creating a new update action on a workflow for "Before modified record saved", why can I not select a field from the "field to update" pick list that I have renamed?
    If I do not rename the field, select it for the field to be updated with my fomula, then go into Admin > App Cust > Record Type > Field Steup and then rename the field and make it appear on the page layout, this works, but if I want to edit the formula for the workflow action, I cannot then select it as per my original issue!
    Is this a bug or just the way the system works?
    Thanks for any help/advice on this

    Ok - further to this, if I use the Indexed Short Text 1 or 2 field and re-name it, then re-name it back to the original field name it does not appear in the list of Fields to be selected for the action when it was listed there originally before I renamed it.
    Ideas anyone?

Maybe you are looking for

  • Compatibility question with Nortel phones

    Hello, I just introduced a Cisco SP200-48P switch into our Nortel environment. When I plug the phone into a POE port, the port is unresponsive (doesn't light up), and the Nortel phone doesn't power up. The data aspect of the port is fine, when I plug

  • Multi currencies in oracle hrms

    Hi , I have one employee and he is from India and he is working in USA. and We have pay him 50% in India Rupees and 50% in Dollars and his total salary is 1,00,000 Per Month. Can any one send me the setup for the Multi currencies to my mail id : [ema

  • Iweb Cutting Page Off at bottom

    I'm working on a website in iWeb. I created the first page without any problems, however on the second page I am working on, iWeb is cutting the bottom portion of the page off. I copied and pasted 3 icons from the initial page, to the second page on

  • How to do "cheeky" jump animations

    Hi, A class mate of mine has submitted a video for a project which features, what I can only describe as a "cheeky" jump.  He tells me there's a behaviour/preset which you can use to achieve this effect. http://www.youtube.com/watch?v=kS9dZRG9KTM It'

  • Lock Failed Problem

    Hi! The system prompts the following problem when I try to modify an Entity with regard to its attributes : "CDI 21602 : Lock Failed - Do you want to re-read the row?" This error has something to do with the repository. But I tried all possible ways