SPD workflow not updating a Lookup Column

I have a 2 lists (Computers & Lending Library) that both have a look-up column (Item Status) pointing to a 3rd list (Item Status - Category).
Both lists are properly looking up when manually edited via the web interface. When I try to use a SPD workflow to "Update or Create List Item" and I set the column in the Lending Library (Item Status) = Current Item (Items Status) the column is not populated.
I took the same value and updated a Text column and the value is "0".
The strange thing is when setting the (Item Status) it only gives me the options:
As Integer
Lookup ID (as Integer)
Lookup Value (as Integer)
What am I missing?
Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

Its been a long time since I looked at this but yes we did figure it out.
Here is my Comment to myself on the lookup: "Must extract the [Item type] as a string and then lookup the corresponding List Item [ID] in the "Item Type - Category" list, use that value to update the "LendLib"[Item
Type]."
As suggested you need to reference the ID of the lookup, and I am caching that. Then when setting the [Item Type] column, by referencing the [ID] column in the Lookup list, then set your value to the Title of that lookup.
If I recall the issue was the lookup, if you don't use the [ID] then you don't actually retrieve the value from the [Title] column correctly.
My screenshots below are a bit confusing at first because my Lookup List is called "Item Type - Category" and the column in the 2nd list that is the
Lookup Column,  is called "Item Type".
Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

Similar Messages

  • Derived table 'tablename' is not updatable because a column of the derived table is derived or constant.

    Hi Guys,
    I have a With CTE table expression ,this cte gets the value from startdate and enddate
    I need to insert this startdate and enddate into a table ,while inserting into table,i got the below error,
    Derived table 'Datematrix' is not updatable because a column of the derived table is derived or constant.
    below is the query i used,
    declare @StartDate date='01/01/2013'
    declare @EndDate date='12/31/2013'
    ;WITH Datematrix(AllocationDate)
    As
    SELECT @StartDate AS AllocationDate
    UNION ALL
    SELECT DATEADD(D,1,AllocationDate) AS AllocationDate
    FROM Datematrix WHERE AllocationDate<@EndDate
    Insert into Datematrix(AllocationDate)
    select * from Datematrix 
    any guys update this solution.
    Thanks 
    Bhupesh.R

    ;WITH Datematrix(AllocationDate)
    As
    SELECT @StartDate AS AllocationDate
    UNION ALL
    SELECT DATEADD(D,1,AllocationDate) AS AllocationDate
    FROM Datematrix WHERE AllocationDate<@EndDate
    Insert into Datematrix(AllocationDate)
    select * from Datematrix 
    Hello,
    Your CTE bases only on fix value = @StartDate , not on a table/view; here do you want to insert data to? This don't work in any way.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SharePoint 2013 Workflow Not Updating on Deployment

    Developing a 2013 Workflow on SharePoint 2013 using Visual Studio 2012, deploying workflow changes does not update the workflow that runs. This has already been posted on the SP 2013 dev forum, but I wanted to check here with the workflow folks. Anyone run
    into this issue before and/or have tips for solving?
    Thanks.
    http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/cd543a00-f3ab-4a4a-8682-b81d8330b677
    http://blog.randomdust.com

    This issue is reported and I'll post about it once I have an update.  For now to workaround this issue, you can try these steps
    Change the default deployment option to “No Activation”
    Retract the solution using Visual Studio
    Deploy the solution. This time feature will not be activated by default as we have changed to “No Activation”
    Open the SharePoint designer and click on the “Workflow”  section. You will see your workflow already present there. Delete the workflow which you have created.
    Activate the feature manually.
    Now you should see your updated version.
    Chandrasekar Natarajan

  • 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?

  • SQL Server 2008 R2 Replication - not applying snapshot and not updating all repliacted columns

    We are using transactional replicating on SQL Server 2008 R2 (SP1) using a remote distributor. We are replicating from BaanLN, which is an ERP application to up to 5 subscribers, all using push publications. 
    Tables can range from a couple million rows to 12 million rows and 100's of GBs in size. 
    And it's due to the size of the tables that it was designed with a one publisher to one table architecture.  
    Until recently it has been working very smooth (last four years)) but we have come across two issues I have never encountered.
    While this has happen a half dozen times before, it last occurred a couple weeks ago when I was adding three new publications, again a one table per publication architecture.
    We use standard SS repl proc calls to create the publications, which have been successful for years. 
    On this occasion replication created the three publications, assigned the subscribers and even generated the new snapshot for all three new publications. 
    However,  while it appeared that replication had created all the publications correctly from end to end, it actually only applied one of the three snapshot and created the new table on both of the new subscribers (two on each of the
    publications).  It only applied the snapshot to one of the two subscribers for the second publications, and did not apply to any on the third.  
    I let it run for three hours to see if it was a back log issue. 
    Replication was showing commands coming across when looking at the sync verification at the publisher and 
    it would even successfully pass a tracer token through each of the three new publications, despite there not being tables on either subscriber on one of the publishers and missing on one of the subscribers on another.  
    I ended up attempting to reinitialize roughly a dozen times, spanning a day, and one of the two remaining publications was correctly reinitialized and the snapshot applied, but the second of the two (failed) again had the same mysterious result, and
    again looked like it was successful based on all the monitoring. 
    So I kept reinitializing the last and after multiple attempts spanning a day, it too finally was built correctly.  
    Now the story only get a little stranger.  We just found out yesterday that on Friday the 17th 
    at 7:45, the approximate time started the aforementioned deployment of the three new publications, 
    we also had three transaction from a stable and vetted publication send over all changes except for a single status column. 
    This publication has 12 million rows and is very active, with thousands of changes daily. 
    , The three rows did not replicate a status change from a 5 to a 6. 
    We verified that the status was in fact 6 on the publisher, and 
    5 on both subscribers, yet no messages or errors.  All the other rows successfully updated.  
    We fixed it by updating the publication from 6 back to 5 then back to 6 again on those specific rows and it worked.
    The CPU is low and overall latency is minimal on the distributor. 
    From all accounts the replication is stable and smooth, but very busy. 
    The issues above have only recently started.  I am not sure where to look for a problem, and to that end, a solution.

    I suspect the problem with the new publication/subscriptions not initializing may have been a result of timeouts but it is hard to say for sure.  The fact that it eventually succeeded after multiple attempts leads me to believe this.  If this happens
    again, enable verbose agent logging for the Distribution Agent to see if you are getting query timeouts.  Add the parameters
    -OutputVerboseLevel 2 -Output C:\TEMP\DistributionAgent.log to the Distribution Agent Run Agent job step, rerun the agent, and collect the log.
    If you are getting query timeouts, try increasing the Distribution Agent -QueryTimeOut parameter.  The default is 1800 seconds.  Try bumping this up to 3600 seconds.
    Regarding the three transactions not replicating, inspect MSrepl_errors in the distribution database for the time these transactions occurred and see if any errors occurred.
    Brandon Williams (blog |
    linkedin)

  • ID not updated in calculated column

    I have a calculate column in a shrepoint list:
    =ID&" "&Title
    But I see that when an item is openend the calculation is not done and the ID and Title is only the Title...
    Mike

    for your requirement you can use an simple workflow
    create a column for example staticID
    when an item is created fill this with the ID
    in the calculated column you can use
    [staticID]&" "&[Title]
    /blog
    twttr @esjord

  • Workflow not updated in offline approval

    Hi All-
    I have an issue in offline approval in SRM 7.0 . Program- /SAPSRM/OFFLINEAPPROVALSEND has been scheduled to send email for offline approval and approver receives the mail. When the approver clicks on Approve By Email button, a new email opens with some Guid informations and approver clicks on send button to send the mail.
    I am seeing the inbound mail recived by SAP in SOIN -tcode or via In Utilities-Inbox Overview in SCOT. The problem is, the workitem is still in ready status and not changed to complete status.
    I havent scheduled the inbound program- /SAPSRM/OFFLINEAPPROVALGET as per SAP library and other SDN posts. I have maintained the following in SCOT (Under Settings-> Inbound processing)
    Internet mail     xxxx@ xxx.com ( Mail id)    ICS    /SAPSRM/CL_OFFLINEAPP_INBOUND   3.
    My doubt is, do we need to schedule the inbound program or any other program, so SAP will decode the data and update the workflow? or is it enough to maintain the above SCOT settings?
    Please clarify above things and help me on how to update the workflow
    Vinoth

    Thank you Ricardo and Saravanan. I am working on this and waiting for roles to assign. In the mean time, i have scheduled the prog- /SAPSRM/OFFLINEAPPROVALGET and if i approve from outlook, it is updating the status to WF.
    Is there any issue, if i use this inbound program in SRM 7.0?
    Also, when i approve from outlook, the mail contents (GUID and other technical informations) is in editable mode. As per my client, it should be in disable mode, so the approver will not change the mail contents. I am not able to find the solution for this. Please provide your inputs.
    PS: I am using Application Controlled WF
    Vinoth

  • Sysdate is not updating to a column

    I have a query that update column to sysdate. The problem sometimes it updates but sometimes not.
    Here is my sample query.
    Update table1 set a= 'a', b='b', c=SYSDATE where table1.no = '1'
    Is there any issue of a SYSDATE.
    Thanks a lot!

    ... and this is what language?
    SQL> drop table tst purge
      2  /
    Table dropped.
    SQL>
    SQL> create table tst
      2  (a varchar2(1)
      3  ,b varchar2(1)
      4  ,c date
      5  );
    Table created.
    SQL>
    SQL> insert into tst values ('A', 'B', sysdate);
    1 row created.
    SQL> select a
      2       , b
      3       , to_char (c, 'hh24:mi:ss')
      4    from tst
      5  ;
    A B TO_CHAR(
    A B 10:30:33
    SQL> begin
      2     dbms_lock.sleep (1);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> update tst
      2     set a = 'a'
      3       , b = 'b'
      4       , c = sysdate
      5  ;
    1 row updated.
    SQL> select a
      2       , b
      3       , to_char (c, 'hh24:mi:ss')
      4    from tst
      5  ;
    A B TO_CHAR(
    a b 10:30:34
    SQL> Are you executing the same statement within the same second (granularity of DATE) multiple times?

  • Workflow not updated or refreshed from BPM changes

    Hi all,
    My BPM Workflow seem to be stuck. All changes I make to my BPM (adding steps etc..) are not reflected in the Workflow.
    I've refreshed the Cache several times (Deltas and Full)...
    Activated Cache Notifications that were not started yet...
    Manually Activated the BPM with SXI_CACHE
    Re-activated BPM itself offcourse after each change///
    ..all to no avail..
    Anyone any ideas ??
    Cheers,
    Eric

    If u have made any changes in IP recently, then delete it from ID and reimport it.
    Regards,
    Prateek

  • PowerShell: Update SharePoint multiple value lookup column?!

    Hi.
    I have some PowerShell scripts that access, update and insert data into various SharePoint 2010 lists. This all works nicely but there is one thing I'm having trouble with. I want to populate a lookup column in a list with multiple values. The column allows
    multiple values and has many such records inserted manually - but I cannot do this using PowerShell. I can update the lookup column using a single "ID" lookup value - but not with multiple values.
    I cannot find any documentation on how to do this using PowerShell. I have seen some examples (C#?) but there's little help in them.
    Any suggestions?
    Thank you,
    Markus
    Markus Sveinn Markusson

    Well, being impatient in nature, I did a lot of browsing and searching - and finally found a solution that works for me - in this thread:
    http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/3788a0ff-7011-4aea-bcc6-96a276a50e60. Adapted
    to my code it looks like this:
    $spAssignment = Start-SPAssignment
    $spList = (Get-SPWeb -identity
    http://site.domain.com -AssignmentCollection $spAssignment).Lists["Tickets"]
    $spNew = $spList.Items.Add()
    $spNew["Title"] = $Title
    $spNew["Assigned To"] = $AssignID
    $spNew["Description"] = $Descr
    $spNew["Priority"] = $Priority 
    #----- Begining of "solution"
    $lookupentry1 = New-Object Microsoft.Sharepoint.SPFieldLookupValue(1,"Service 1")
    $lookupentry2 = New-Object Microsoft.Sharepoint.SPFieldLookupValue(2,"Service 2")
    $lookupentry3 = New-Object Microsoft.Sharepoint.SPFieldLookupValue(3,"Service 3")
    $multientry = New-Object Microsoft.Sharepoint.SPFieldMultiChoiceValue($null)
    $multientry.Add($lookupentry1)
    $multientry.Add($lookupentry2)
    $multientry.Add($lookupentry3)
    $spNew["Service"] = $multientry
    #----- End of "solution"
    $spNew.Update()
    Regards,
    Markus
    Markus Sveinn Markusson

  • Lookup Columns in subsites

    Hey,
    do you have a soloution for the following Problem:
    We have a sitecollection (root) with a two lists and Sub sites which look exactly like sitecollection.
    The subsites should import the data in the lists to the sitecollection by a timerjob where it gets monitored. But each subsites have ist own permissions! So noone can write to the sitecollection. Easy to solve... normally... 
    We have contenttypes on the sitecollection created. then we have several subsites in the sitecollection which inherits the contenttypes. With a web-Feature i add two lookup coloumns to the contenttype and all subsites inherits the lookup columns.
    The Problem here is, that all of These subsites refer to the sitecollection lists...
    Programmaticially i can not Change the lookup columns on each subsite to their lists in their subsite.
    How can i solve that Problem?

    When you are adding a column to the parent content type you get the following option.
    On selection of yes all the existing lists from the content types will get updated with the new column. This option is available during the creation of new column as well as adding existing site column to the content type and hence will be available in Modify
    View functionality 
    You can also use object model to propagate parent changes Immediately.
    http://msdn.microsoft.com/en-us/library/ms442695.aspx
    -prs

  • AP_INVOICE_DISTRIBUTIONS_ALL.LAST_UPDATE_DATE was not updated

    Hi,
    I would like to raise one question on AP_INVOICE_DISTRIBUTIONS_ALL.LAST_UPDATE_DATE of EBS 11.5.10 which is related to OBI Application 7.9.6.1
    One customer mentioned that AP_INVOICE_DISTRIBUTIONS_ALL.LAST_UPDATE_DATE was not updated whenever AP_INVOICE_DISTRIBUTIONS_ALL.PREPAY_AMOUNT_REMAINING filed is updated.
    In reverse, I asked customer if it is expected in EBS 11.5.10 because I understand that LAST_UPDATE_DATE field is mandatory updated whenever any column is changed.
    "1/ Basically, AP_INVOICE_DISTRIBUTIONS_ALL.LAST_UPDATE_DATE field is mandatory updated whenever any column is changed. If not, it must be a Source Application problem. Why do your Source Application person think that it is expected?
    Ans: Because Source Application person think that Oracle apps basic application functionality for AP Invoice."
    Could you let me know if it is really expected in EBS 11.5.10 or any other suggestions?
    Regards,
    ChongHak

    If the last_update_date is not updated when another column in the table is updated, it is most likely a bug in EBS.
    You should search metalink for a patch or raise an SR to obtain one.
    Hope this helps,
    Sandeep Gandhi

  • Modify list view - Group by Lookup column's ID

    Hi
    I have a main list that has a lookup column. The grouping works fine, but I want the sort order of the group to appear as the way the lookup value's ID is ...
    What are the ways to achieve this, I do not want to put a number in front of the values, is there another way to do this

    I understand that you don't want to add additional info in front of the lookup column values to keep the value exactly as expected.
    as SharePoint 2010 allows to lookup additional fields, I would suggest to lookup the item ID also with the lookup column.
    1. create a lookup column lookup your expected list.
    2. in the lookup column settings, "Add a column to show each of these additional fields", check "ID" column.
    3. group by the list view with the additional ID instead.
    There is an issue by doing this step, the groupby title value is the lookup ID column not the original lookup column, as we actually doesn't use the lookup columnn with grouping.
    For this, you can use SharePoint Designer to edit the list view, change the groupby row cell to the lookup column value instead.
    Qiao Wei <br/> My blog:http://blog.goobol.com

  • Views, not updatable???

    Have run the script demobld.sql in schema SCOTT/TIGER and created the following view
    SQL> @C:\scripts\demobld.sql
    Building demonstration tables. Please wait.
    Demonstration table build is complete.
    CREATE OR REPLACE VIEW empdept AS
    SELECT emp.empno, emp.ename, emp.job, dept.deptno, dept.dname, dept.loc
    FROM emp, dept
    WHERE emp.deptno = dept.deptno;
    select * from user_updatable_columns where table_name like 'EMPDEPT';
    OWNER     TABLE_NAME COLUMN_NAME UPD INS DEL
    SCOTT EMPDEPT EMPNO NO NO NO
    SCOTT EMPDEPT ENAME NO NO NO
    SCOTT EMPDEPT JOB NO NO NO
    SCOTT EMPDEPT DEPTNO NO NO NO
    SCOTT EMPDEPT DNAME NO NO NO
    SCOTT EMPDEPT LOC NO NO NO
    I don't understand why the view is not updatable for the columns from the base table EMP, they should be. Does anyone know what the problem could be
    Cheers
    Fergus

    Are you sure that you have all the primary keys and foreign keys correctly defined on those two tables?
    SQL> alter table dept drop constraint pk_Dept ;
    Table altered.
    SQL>
    SQL> CREATE OR REPLACE VIEW empdept AS
      2  SELECT emp.empno, emp.ename, emp.job, dept.deptno, dept.dname, dept.loc
      3  FROM emp, dept
      4  WHERE emp.deptno = dept.deptno;
    View created.
    SQL>
    SQL> select * from user_updatable_columns where table_name like 'EMPDEPT';
    OWNER                          TABLE_NAME                     COLUMN_NAME                    UPD INS DEL
    SCOTT                          EMPDEPT                        EMPNO                          NO  NO  NO
    SCOTT                          EMPDEPT                        ENAME                          NO  NO  NO
    SCOTT                          EMPDEPT                        JOB                            NO  NO  NO
    SCOTT                          EMPDEPT                        DEPTNO                         NO  NO  NO
    SCOTT                          EMPDEPT                        DNAME                          NO  NO  NO
    SCOTT                          EMPDEPT                        LOC                            NO  NO  NO
    6 rows selected.
    SQL>

  • Filter the secondary datasource based on lookup column

    Hello All,
    I am customizing a List form. I have a secondary data connection which is
    a datasource for my drop down list. I have to filter the datasource based on Lookup column value.
    I know how to filter on the datasource by going to entries and filtering but it does not work with Lookup column.
    Can anyone let me know step by step procedure.
    Regards,
    smith
    smith

    Hi,
    According to your post, my understanding is that you wanted to filter the secondary datasource based on lookup column.
    I recommend to create a cascading drop-down list box in InfoPath.
    You can follow the steps in the article to achieve what you want:
    Create Cascading Dropdown in Browser enabled InfoPath form using InfoPath 2010
    More information:
    Cascading Drop Down List In SharePoint 2010
    Cascading Drop-Down List in SharePoint 2010 using InfoPath 2010
    Dan's SharePoint Blog: InfoPath Tutorial Cascading Dropdown (Does not have the 20 item limit)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • The publisher in the uploaded package does not match the expected publisher x2

    I spent an hour with a very helpful MS tech support guy today to try and resolve this issue to no avail.  He ensured it wasn't on their end within the Dev Center which means it would lie in the App Studio Beta team's end. So I have double and tripled

  • Encrypted key store in mssql , get it back when validation part

    i ned to make sure, do i do the rigth way to encrypt the password, how to cal it out and compare with the password that user key in jsp. i ned to store it in mssql, is it enough length to save the password after the encryption, please correct me if a

  • Problems with ALV grid refresh

    Hello, I am writing a relatively simple wd application, I enter a few values in the select-options and display the data in an ALV grid. My problem seems to be that the grid values do not refresh if I change the selection conditions. On going through

  • VideoEvent error in Flex 4.5.1

    Hi....      While working ahead with Flex 4.5.1, I found an error in VideoEvent.But this works properly in Flex 4.5.0.19786.      I changed mx.events.VideoEvent to  flash.events.VideoEvent to solve this error.still the error occur.Can anyone please h

  • Confirmation of messages in BPS - possible in FOX?

    Hi Marc / Gerd, We have done confirmation in ABAP Exits before but wanted to check if there are any options to request confirmation message Y/N in FOX formula.  The only solution I have though of so far was to do a EXIT function and the FOX formula a