Workflow Container not updated

Hi All,
The user has taken action on a work item, but one parameter in container is not updated.
Is there any user related authorization we need to take care.
Thanks,
Aravind

Hi All,
Thanks for the replies. I will further elaborate the scenario. This is an HCM forms & processes based workflow.
The user is approving the form, the user can either approve, reject or return the form. Based on this PROCSTATE variable
can have 3 values, APPROVE, REJECT or BACK. But for one user only the PROCSTATE parameter in container
is not getting set.
Why for only one user this parameter is not set? If this is an issue with binding, it would have happened all the users.
Thanks,
Aravind

Similar Messages

  • 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

  • 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 12300111 not updating data .

    Hi experts,
    i am trying to use workflow 12300111 for ESS leave request .
    the workflow is not updating the values in the table for absence ie; PA2001
    Please  suggest what can be done .
    thanks in advace,
    Naval bhatt

    @ Arg
    which method do we have to use in TS12300097
    i have tried with 
    class - CL_PT_REQ_WF_ATTRIBS
    method- APPROVE
    and
    BO -ABSENCE
    method- APPROVE
    please suggest me if i am doing something wrong in this .
    please tell me  which roles are required for updating the absence.
    thanks,
    Naval

  • Workflow: XML Container not updated

    Hallo Gurus!
    I am starting a new workflow with SWW_WI_START_SIMPLE. After that i change some container values with following code:
    *Workflow starten
      CALL FUNCTION 'SWW_WI_START_SIMPLE'
        EXPORTING
    *   CREATOR                            = ' '
    *   PRIORITY                           = SWFCO_NO_PRIO
          task                               = wa_ess_prozess-prozess_task
    *   CALLED_IN_BACKGROUND               = ' '
    *   DEADLINE_DATA                      = ' '
    *   NO_DEADLINE_PARAMETERS             = ' '
      IMPORTING
    *   WI_ID                              =
    *   WI_HEADER                          =
    *   RETURN                             =
    *   WI_RESULT                          =
        swf_return                         = lwa_swf_return
        TABLES
          agents                             = it_swhactor
    *   DEADLINE_AGENTS                    =
    *   DESIRED_END_AGENTS                 =
    *   LATEST_START_AGENTS                =
    *   EXCLUDED_AGENTS                    =
    *   NOTIFICATION_AGENTS                =
    *   SECONDARY_METHODS                  =
    *    wi_container                       = i_event_cont
    CHANGING
       wi_container_handle                =  lc_container
      EXCEPTIONS
       id_not_created                     = 1
       read_failed                        = 2
       immediate_start_not_possible       = 3
       execution_failed                   = 4
       invalid_status                     = 5
       OTHERS                             = 6
      TRY.
          CALL METHOD lc_container->if_swf_cnt_element_access_1~element_set_value "if_swf_ifs_parameter_container~set
            EXPORTING
              name       = 'Vorgesetzter'
              qname      = 'Vorgesetzter'
              value      =  m_vorg
    *                  unit       =
    *                IMPORTING
    *                  returncode =
        CATCH cx_swf_cnt_cont_access_denied .
        CATCH cx_swf_cnt_elem_access_denied .
        CATCH cx_swf_cnt_elem_not_found .
        CATCH cx_swf_cnt_elem_type_conflict .
        CATCH cx_swf_cnt_unit_type_conflict .
        CATCH cx_swf_cnt_elem_def_invalid .
        CATCH cx_swf_cnt_container .
      ENDTRY.
    COMMIT WORK.
    No excpetions are raised, but the container is not updated! Did i make something wrong?
    Please help!
    Thanks in advance.
    Alex

    Hallo Mike.
    I think i should explain my requirements in more detail. I'm working on different Employee Self Service Scenarios. The User Interface is a Webdynpro which can be called form the Portal. In Background a Workflow is trigger and all following steps can be executed through the UWL.
    For each Scenario it is possible to enter different date by the user. As the data is used in the workfow i would like to set it into the container by an generic Function Module for all scenarios. Each Process has a unique name and i made a table where the related information (Workflow task...) is stored.
    But i think I already found a solution:
    CREATE OBJECT cnt TYPE  cl_swf_cnt_container .
      TRY.
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'Vorgesetzter'
              value = m_vorg.
    *    unit       =
    *  IMPORTING
    *    returncode =
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'Prozessdaten'
              value = <wa_proc_struc>.
    *    unit       =
    *  IMPORTING
    *    returncode =
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'ESS_KEY'
              value = lwa_ess_key.
    *    unit       =
    *  IMPORTING
    *    returncode =
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'PROCESS_NAME'
              value = i_ess_process.
    *    unit       =
    *  IMPORTING
    *    returncode =
        CATCH cx_root .
      ENDTRY.
      CALL METHOD cl_swf_ifs_conversion_base=>to_ifs_xml
        EXPORTING
          source_container    = cnt
          import_param        = 'X'
          export_param        = 'X'
          local_elements      = 'X'
          no_system_elements  = ' '
          no_initial_elements = ' '
    *      id                  = l_key-task
        IMPORTING
          ifs_xml_stream      = ifs_xml_container
          error_handle        = lv_excp.
      IF lv_excp IS NOT INITIAL.
        CALL METHOD lv_excp->if_message~get_text
          RECEIVING
            result = lwa_swf_return-message.
        e_return-type = 'E'.
        e_return-id   = 'ZESS'.
        e_return-number = lwa_swf_return-message.
        e_return-message  = lwa_swf_return-text.
        e_rc = 1.
        ROLLBACK WORK.
        EXIT.
      ENDIF.
    *Workflow starten
      CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
        EXPORTING
          task                      = lwa_ess_prozess-prozess_task
    *   LANGUAGE                  = SY-LANGU
          do_commit                 = ''
    *   USER                      = SY-UNAME
    *   START_ASYNCHRONOUS        = ' '
    *   DESIRED_START_DATE        =
    *   DESIRED_START_TIME        =
    *   DESIRED_START_ZONLO       = SY-ZONLO
         ifs_xml_container         = ifs_xml_container
    IMPORTING
       return_code               = l_subrc
    *   WORKITEM_ID               =
    *   NEW_STATUS                =
    TABLES
    *       input_container           = i_event_cont
       message_lines             = lit_messag
       message_struct            = lit_messstruc
       agents                    = it_swhactor
    With this technique i am now able to set dynamic structures (e.g. <wa_proc_struc>) to the Container.
    Thanks.
    Alex

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

    I started getting these errors on one of my lists that has several workflows running on it. The strange thing is it has been running pretty much error free for 1.5 years and we have not made any changes to the workflows and no updates have been applied prior
    to the errors staring.
    It is typically always the same workflow but it doesn't always happen, only some of the newly added list items will error. If I simply cancel the current instance and manually start it again it runs fine to completion and it only seems to error out
    at the start.
    Most of the other workflows pause/wait for a status change but I will be reviewing all the workflows to confirm there is no locking conflict. I have added a Wait to one other workflow that I know will update the list item on startup, it is populating
    the Title column but even after that I am still getting the error.
    I noticed in the TraceLogs, 2 errors that started on Feb 2 and I could not find them in any previous logs (went back many days with no occurrences).
    02/02/2015 07:15:55.93  w3wp.exe (0x1C50)                        0x18D4 SharePoint Foundation        
     Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 6cbf1da4-fbf9-4dfe-ae48-b6d765cc6d03 
    02/02/2015 07:15:56.37  w3wp.exe (0x1C50)                        0x2140 SharePoint Foundation        
     SPRequest                      8l3a Medium   Failed to cache field with id "{49af83c9-c5e3-47db-b055-bf18673bba67}", overwrite=0
    The "Field ID"{49af83c9...} listed is a Lookup column to a Clients list on the same site.
    Any suggestions on what could be causing the sudden errors. I will be reviewing all other workflows but as I mentioned previously, this system has been working great up until Feb 2 with no changes to the lists or workflows for 3-6+ months.
    Thanks in advance.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    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.

  • Approval Workflow does not update the Content Approval status if started automatically

    Hi,
    I’m using a simple Approval Workflow associated with
    Content Approval on site pages. It works fine when I set it to be started manually (by using
    Allow this workflow to be manually started by an authenticated user with Edit Item permissions
     option) and on the completion of the workflow the
    Content Approval status is updated accordingly. But when I set it to be started automatically (by using
    Start this workflow when a new item is created
     / Start this workflow when an item is changed
    options), it does not updates the Content Approval status. Note that I’ve set the
    Update the approval status after the workflow is completed (use this workflow to control content approval)
    option to true.
    Regards

    Hello,
    It is recommended to select "Start this workflow to approve publishing a major version of an item" when you want to use the workflow to manage content approval for
    a library.
    According to the Notes for “Enable Content Approval” option in
    this reference:
    If you are using this Approval workflow to manage content approval (moderation) for a library, and you selected the Start this workflow to approve publishing a major version
    of an item check box on the Add a Workflow page..
    If you did not select the Start this workflow to approve publishing a major version of an item check box on the Add a Workflow page because you do not want this workflow to
    be the default content approval workflow for a library, you can select the Update the approval status (use this workflow to control content approval) check box to make this workflow a secondary content approval workflow that specific users can
    start manually.
    That means having an approval workflow start automatically when a document is changed or created is not a good practice when you want to use the workflow to manage
    content approval for a library. You should either select "Start this workflow to approve publishing a major version of an item" or give users the option to start the workflow manually at the time they want to submit for an approval.
    Thanks & Regards.
    Lily Wu

  • Class attribute in technical workflow log not updated

    Hi Gurus,
    I built a workflow analogous to the famous demo workflow "demoformabs" but with the demo class: CL_SWF_FORMABSENC instead of the BOR: FORMABSENC.
    In the BOR Formabsenc there is also an attribute for the "Approver" (USR01) in addition to "Creator" (USR01).
    This attribute "Approver" is missing in the class "CL_SWF_FORMABSENC".
    So I added this attribute "Approver" also in the class "CL_SWF_FORMABSENC":
    data APPROVER type SIBFLPORB value CL_SWF_BOR_TYPES=>MC_USR01.
    Finally in the method "approve" I set the value for the attribute "APPROVER".
    me->approver-instid = me->APPROVBY.
    I can see that the value has been successfully set by setting a binding from this class attribute to a workflow container element.
    BUT, in the technical workflow log (container) I can not see the class attribute "Approver" populated.
    Here it´s still displayed as < no instance >.
    What do I need to do, to make this value appear also in this class attribute in the technical workflow log?
    Albeit I know, that it´s working, I am getting confused, that it´s still displayed as empty.
    Cheers,
    Dominik

    Hi Dominik,
    You should not populate attributes in this manner, for the very reason you're experiencing. Attributes are transient and behave like variables, i.e. when the class stops existing they disappear. During binding only the key is transferred, and - if needed - the class is re-instantiated at the other end. If you have implemented some kind of buffering/instance management (not a bad idea), then you may be lucky to have attributes survive if everything happens within the same program context. However once your WF session stops executing, this is lost.
    This is why when you look at the log later, it is re-instantiating a completely new instance - where would it know the approver from?
    The attribute value must be written to the DB somewhere, so that any later object instantiation (e.g. when you look at the log) will read the value and populate the attributes correctly.
    Incidentally this is why OO theory discourages the use of public attributes and suggests GET_ and SET_ methods instead....
    Regards,
    Mike

  • OOB Approval Workflow does not update WorkflowStatus column as "In Progress"

    Dear Experts,
    Any advice will be most appreciated. Here is the scenario
    Repository: document library
    Workflows: OOB Approval Workflow is turned on
    User Action: User uploads multiple documents (say 5 or 10) to the document library
    the workflow status column is not marked as "In Progress" for some of the documents. Out of say 10 documents, 6 to 7 have "In Progress" in the workflow status column and the remaining 3 to 4 don't have it! 
    It is very critical to have this field updated.
    Alternatives: Currently it seems like the only way to update the blank workflow status column is to delete the document and re-upload it.
    Solution tried: Tried turning off "Update Content Approval" option in the workflow settings. No use.
     

    I've found out more about this. The workflow itself starts, but the workflow status column does not get updated as "In Progress" or "Approved". Its just blank.
    Whats even more interesting is that it fails if the web app's port number is 80 (URL in this case will be http://server_name/doc_lib)
    but it works perfectly if the port number is anything other than 80! (URL in this case will be http://server_name:port_number/doc_lib)
    Any clues as to why it behaves this way?
    Thanks in advance,
    NP

  • Automator workflow list not updating

    Anyone know why the list of files shown under "My Workflows" just accumulates the names of any workflows you've saved, rather than removing Workflows you've deleted manually?
    I've only three workflows at the location Automator says these are stored but I've seven showing in the list- four with the same name!
    Thanks,
    Tom B

    @ Arg
    which method do we have to use in TS12300097
    i have tried with 
    class - CL_PT_REQ_WF_ATTRIBS
    method- APPROVE
    and
    BO -ABSENCE
    method- APPROVE
    please suggest me if i am doing something wrong in this .
    please tell me  which roles are required for updating the absence.
    thanks,
    Naval

  • Sharepoint Foundation Can not update External List by Work Flow

    Hi
    I try to update External List by other list Work Flow, in Sharepoint 2010 Foundation.
    Here is the manual: 
    http://msdn.microsoft.com/en-us/library/office/ff394479(v=office.14).aspx
    But it fails , and the error message is “The
    workflow could not update the item in the external data source. Make sure the user has permissions to access the external data source and update items.”
    Is there some limited in Foundation?

    http://social.technet.microsoft.com/Forums/en-US/0bb9ef28-3614-4db2-b19f-dd81e8cc2d42/the-workflow-could-not-update-the-item-in-the-external-data-source?forum=sharepointgeneralprevious
    With no Secure Store in Sharepoint what we ended up doing was creating a new external content type, adding a new connection and picking a connection type of .net type instead of sql.  This means we needed to create a .net app as the go between but within
    .net we had all the usual tools for connecting to sql without permission issues.
    Also check
    http://wyldesharepoint.blogspot.in/2010/06/setting-up-external-content-type-for.html
    If this helped you resolve your issue, please mark it Answered

  • The workflow could not check out the list item.

    Hi Guys,
    I have a workflow enabled on document library and it needs to started manually.
    Whenever user starts workflow manually, gets following error:
    "the workflow could not check out the list item. Make sure the list item is not checked out." list item is not checked out & this workflow was working smoothly earlier.
    OutCome: The workflow operation failed because the workflow lookup found no matching item.
    I have gone through below links:
    https://christopherclementen.wordpress.com/2014/05/23/oob-approval-workflow-error/
    https://social.msdn.microsoft.com/Forums/office/en-US/f673d0f6-92eb-4057-95ff-ed3cb7790360/the-workflow-operation-failed-because-the-workflow-lookup-found-no-matching-item?forum=sharepointcustomizationprevious
    Any clue on this?
    Thanks, Nilesh

    maybe check out for editing documents setting is turned on so wokrflow needs doc to ce cheked out before proceding and user might not have permission to do that.
    please refer below link:
    http://sharepoint.stackexchange.com/questions/32399/workflow-error-the-workflow-could-not-update-the-item-possibly-because-one-or
    http://community.office365.com/en-us/f/154/t/243062.aspx
    http://stackoverflow.com/questions/1272957/document-checked-out-in-sharepoint-when-workflow-starts
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Workflow issue - Main workflow container elements are not updated.

    Hi All
    We have implemented N-step badi for approval process and for this we have activated one workflow which contains subworkflow .
    During approval process , only the subworkflow container elements( approver list and last approver) getting updated with status and time.But main workflow container elements is not updating with these details.
    Binding between main workflow and subworkflow is perfect. But reverse binding ( from subworkflow -> main workflow ) will take place once subworkflow is completely finished. But here we will require / need to pass some information from sub workkflow to main workflow when still subworlflow in process( before completed itself).
    Please let me know is there any process / steps is required to pass values between subworkflow to main workflow ( binding is perfect).
    Please let me the way how I can update the main workflow container from  subworkflow container or from any step in sub workflow .
    In subworkflow . we have loop of  approvers and it will send workitems to approvers one by one.
    Here i need to update Main workflow with the information like last approver and approver list with status and approved time.
    So please suggest how Can I update main workflow container from subworkflow while subworkflow is still in process( subworkflow not yet completed).
    Kindly reply me ASAP.
    Thanks and Regards
    Madhukar .

    Yes I am setting SWC_SET_ELEMENT for my container values,the ones for which i have defined as EXPORT.
    And I have checked the task also...
    Everything has been checked properly..The binding is fine.
    Thanks & regards,
    Ravikiran Kallimath

  • Over Time Workflow Container elements not updated

    Hi,
    I am using Standard Task TS20000459 for approval of Overtime entered for an employee in CAT2 transaction.
    Work item is getting generated to his manager's inbox.
    Issue is, subject of the work item should have employee number and Employe name. Standard Task contains Container elements &TS_PERNR& and &TS_ENAME& which is not getting filled with any values.
    Can any one suggest me how to get the same?
    Regards,
    Saravana Perumal

    Hi Shanti
    I faced the same problem...And i resolved that problem by binding...
    Create the container element for PERNR and ENAME in the standard task ts20000459 as well as in workflow container.Then bind those container values.
    Before bind the workflow and task container, you have to bind the workflow container with the event container.
    Regards,
    Hemalatha.

  • Update main workflow container from In-Progress Subworkflow

    Hi,
    I have a requirement where I need to update a main workflow container element from a sub-workflow, while the sub-workflow is still running. (In-Progress)
    I have tried using the FM SAP_WAPI_WRITE_CONTAINER in sub-workflow, but it returns an error saying "Cannot call WAPI interface 'SAP_WAPI_WRITE_CONTAINER' in this context".
    I have also tried FM SWW_WI_CONTAINER_MODIFY, but it does not update at all.
    I have also tried triggering an even in sub-workflow, which in turn triggers a class method, but it gives an errors saying "WF locked"
    Please let me know if you have any other strategies.
    Thanks
    Krishna

    Hi,
    what I can suggest you is try to create a program exit in the subworkflow  and in the program exit you can access the main workflow F wotkitem ID, by using thie main workflow workitem ID try to create the instance of the container. and from there in the program exit class you can set and get the values of the workflow container elements.
    but here you have to make sure that you have to create the instance of the parent workitem ID  container, but  not the subworkflow workitem ID container.
    [Program Exits In Workflow |http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow]
    Regards
    Pavan

Maybe you are looking for