Loop in workflow

hi friends
   How to use a loop in workflow. When ever i placed a loop after a activity step the end of the loop points to the next step, but i want the end of the loop should place at the begining of the activity. how to drag the point and place it on the first.
Regards
vijay

Hi Vijay,
You have to do Cut  or Copy and Paste for your Requirement.
Regards,
Surjith

Similar Messages

  • Using loop in workflows

    Hi All,
             Can any one help me how to use loop in workflow.
    Initially i will send workitem to agents.
    if the loop condition fails i need to send the workitem again to the agents.
    Thank you,
    Harsha

    Hi,
    Just try it. Open the workflow builder, create a new workflow and enter a loop into it. It is really straightforward. You just need to enter the condition into the loop. Basically you need to check some value in the container. Let's say you have a container element APPROVED. If it has value X, the loop will end, etc.
    Regards,
    Karri

  • Use LOOP in workflow

    hi experts:
        when I create one notice,many leaders will approve or reject the notice one by one.I want to use "loop until" in workflow template,how can it carry out?
        thanks a lot!

    check the following links for reference:
    Link: [How to use LOOP(Until) step in a Workflow;

  • How to use loop in workflow task description

    loop doesnt work in pftc task description command line. please help

    Hi,
       Could you plse check this link 'http://mailman.mit.edu/pipermail/sap-wug/2005-February/016575.html'  to solve ur problem
    Regards,
    Rajeswari

  • Using MDM workflow modeller MS Visio

    Hi
    Is there any document / blog / help document on using MDM workflow for different usecases.
    I can build simple workflows using MS Visio, but am looking at docs which has some complex use case examples.
    Any idea if any such are around.
    Thanks
    Dilip

    Hi Dilip,
    You can refer the below links they are helpful in understanding the configuration and use of MDM workflows in detail:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a (LOOP in Workflows-Approvals)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/001d22fb-622d-2b10-22ac-998acecf68a8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90efe90c-b03f-2b10-65bf-e572fef651cb  (email notification in workflow)
    E-Mail Notification using MDM Workflow- Sample Scenario
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60559952-ff62-2910-49a5-b4fb8e94f167
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Recurring Tasks - Workflow & Views

    Hi
    I am really struggling with the following requirement:
    We need to set up a list of recurring tasks which occur monthly, daily and weekly. An email alert needs to be sent to the person responsible for completing the task at the begining of each month, day or week and when the start date of the task has been reached.
    An email alert also need to be sent to a manager if the task is not completed within a specific time frame.
    I have attempted to use a calendar with a list of events and the built in recurrence. This has been extremely frustrating. After creating the list and setting up the recurrence - I noticed the difference between series and occurrences and the views that
    only display occurences. So now we have a situation where thousands of tasks have been created and we cannot group the tasks by end date or user. I also cannot apply my workflow rules. I was using the 'Start Date' in my workflow however recurring events only
    use one start date. I am unsure if the workflow will work and originally checked to apply manually and on creation, I need to apply workflow to thousands of tasks.
    I would like to use workflow to automate the creation of tasks and I would prefer that a new task is only created at a specified time. Is anyone aware of a better solution? Is it possible to set up recurring tasks successfully?
    Appreciate your assistance
    Tony

    Hi,
    According to your description, I have found this blog can help you a little, Looping Timer workflow used to complete processing as a background task at a specific time each day. For more information, you can refer to:
    http://blog-sharepoint.blogspot.com/2010/01/how-to-configure-workflow-to-start-at.html
    Best Regards
    David Hu

  • Dynamic string in designer workflow.

    Hi,
    I have creted form library A and one sharepoint list B with email id, name and company name details.
    I want to develop a workflow to send an email to users who are in List B with a link.
    Before sending an email to user, workflow should verify that if there is any item in "Library A" with the name(company name+User name from List B values) or not.
    If there is an item in Library A, then the workflow should send existing item link to that particular user to update the item if not it should send a link to create new report in Library A and the workflow should send emails every week until the
    item's status changes to "Completed".
    Here my question is, how to create dynamic links in designer.Is it accomplishable using sharepoint designer? Client does want custom coding solutions.
    ANy help would be appreciated.
    Thank you.
    AA.

    Hi
    Firstly few things to consider -
    SharePoint workflow are assigned to single item based on create or on modified events of list items
    iterating through list library is not supported by OOTB
    Even if we manage to iterate through list items, it would cause issues when there are too many items in the list
    For creating links you can use workflow variables in SharePoint designer, we normally use current item url from workflow context -
    http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx
    some reference for Looping to start with -
    http://sharepointgypsy.blogspot.com/2011/11/create-for-each-loop-for-workflows.html
    http://brianscodingexamples.wordpress.com/2013/05/09/create-while-loop-within-workflow-in-sharepoint-designer-2010/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/a9c6ab96-3b7f-428e-be5d-c2323e95cfe4/loop-through-sharepoint-list-having-more-than-100-items-using-ootb-sharepoint-desinger-2010-workflow
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Looped Automator Wkflow Slows After Several Iterations

    Hello all:
    I've made a looped workflow that successfully:
    1. Sorts an Excel list
    2. Grabs the topmost string from the list in Excel (all URLs)
    3. Opens the URL in Safari
    4. Gets/parses a new URL of an image contained in the webpage source
    5. Appends the new URL to a TextEdit document
    6. Replaces the "http" in that string with "xxxx"
    7. Pastes "xxxx*" to the original Excel cell, overwriting the initial string
    8. Closes the Safari document, and
    9. Loops
    The workflow, as I said, works perfectly, but this list is 25,000+ items long, and it seems like each iteration causes a performance slowdown that gets ridiculous around run 30-35. If I stop the workflow manually and restart it, it starts up at full speed and then slows again.
    Is there some built-in cache I need to dump each run?
    Or maybe I'm messing this up myself with the Applescripts I've inserted.
    +Here's the one that retrieves the source from Safari:+
    tell application "System Events"
    tell application "Safari" to set html1 to source of front document
    return html1
    end tell
    +And here's the one that closes the Safari document:+
    tell application "System Events"
    tell application "Safari"
    activate
    set URL1 to URL of front document
    end tell
    if URL1 contains "cgi" then
    tell process "Safari"
    keystroke "w" using command down
    end tell
    end if
    end tell
    Any guidance would be greatly appreciated. Thanks!

    Hey VMAXfrank,
    Just from the language you use and the depth of this program I'm pretty sure you could handle a little more native applescript over using the applications. In applescript arrays are known as lists.
    Try making a plain text document which contains the following comma delimited text.
    www.google.ca, www.hotmail.com, www.yahoo.com
    Then run this script selecting that file.
    set myFile to (open for access (choose file))
    set myText to (read myFile for (get eof myFile))
    close access myFile
    set my text item delimiters to "," --*doesn't need to be a comma
    set mySites to every text item of myText --string into list
    repeat with currentSite in every item of mySites
    --display dialog currentSite as text --debug see your current site
    set currentSource to do shell script "curl " & currentSite --gets the source
    --display dialog currentSource as text --debug see your source
    (*I don't know how you parse the site for photos but include that here*)
    end repeat
    Clearly if you can get your list into a form that doesn't use excel (also an export or save as option from excel) you will be sitting pretty.
    edit: I also threw in those display dialog debug comments to the code so you can uncomment them (remove the preceding "--") and see how the scripts run.
    edit2: If you post how you are parsing the website source code for an image file I can help you with that as well.
    Message was edited by: taylor.henderson

  • Save file as or save file in different folder

    I want to open a file then save it in a different predetermined folder with the same name or maybe with a different name, is there a save or save as... action?
    I also want to sometimes create a new folder then rename it based on the name of the original file. Can't find that either. But I'm totally new at this.
    I'm getting stumped by both of these.
    Thanks,
    Automator newbie trying to convert 3d files to other format 3d files.
    Automator is so cool if I can get it to work.

    When using variables, the input items for the various Automator actions can be looked at like a stack of cards. You can do stuff with the stack you have, or set it aside to do stuff with a different stack and get the original stack back later.
    The following is an example that creates a folder from the name of a file, then copies the file there.
    1) *Ask for FInder Items* -- just get a single file
    2) *Set Value of Variable* { Variable: _Original Item_ } -- save it for later
    3) *Get Names of Finder Items* { Name: Basename only } -- get the name for the folder
    4) *Set Value of Variable* { Variable: _Item Name_ } -- save for use with the *New Folder* action
    5) *Get Value of Variable* { Variable: _Original Item_ } (Ignore Input) -- get the file back
    6) *New Folder* { Name: _drag Item Name variable here_ Where: wherever } -- create & copy
    Note that this workflow takes advantage of the fact that if items are passed to the *New Folder* action, it will copy them to the newly created folder.
    Since there isn't a way to loop a workflow other than the whole thing, to handle multiple items you would need to use an action such as the *Dispense Items Incrementally* action from http://automator.us/leopard/downloads/. The action will take your original input items and dispense them one at a time each time the workflow loops.

  • UTL_HTTP.end_of_body Exception Error.  Trying to Understand the Reason Why?

    I have the following PLSQL Function that returns a End_of_body Error. This started when we migrated from 10g to 11g. It is simple enough to capture so the error does not stop the Function Flow, but the error causes the OCI driver in OBIEE to error, which prevents the use of OBIEE IBOT to execute. Trying to understand why this error is occurring..not sure if we have a permissions issue on the UTL_HTTP Package or what?
    Anyone seen this problem in 11g? Suggests on resolving would be great. Thanks.
    FUNCTION AA_DEMO_PO_WSDL(IN_MESSAGE IN VARCHAR2)
    RETURN VARCHAR IS
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    launch_url varchar2(240) ;
    o_message varchar2(240) ;
    po_amount number := 2000 ;
    total_calls number := 0;
    cursor c_PO_exists is Cursor Logic..
    begin
    total_calls := 0;
    For po_wsdl in c_PO_exists
    LOOP
    total_calls := total_calls + 1;
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/PurchaseOrder_Approval">
    <ns1:ProcessRequest><ns1:input>PO' || po_wsdl.order_no || '</ns1:input></ns1:ProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    Begin
    http_req:= utl_http.begin_request('myURL/PurchaseOrder_Approval/1.0','POST','HTTP/1.1');
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'initiate');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    Exception
    WHEN UTL_HTTP.end_of_body THEN
    utl_http.end_response(http_resp);
    When utl_http.too_many_requests then
    utl_http.end_response(http_resp);
    o_message := 'End_Reponse' || ' from proc.';
    when OTHERS then
    o_message := SQLERRM || ' from proc.';
    return o_message;
    end;
    END LOOP;
    Return 'Workflow Initiated-' ||to_char(total_calls);
    end AA_DEMO_PO_WSDL;

    Hi, thanks,
    it is oracle10g,
    The Exception is : ORA-29266: end-of-body reached
    ORA-06512: at "SYS.UTL_HTTP", line 1349
    then the line in my function ,
    damorgan wrote:
    But I do note that when I do this I always do a get_header_count and get_header before get_read.what get_read , u mean?
    thanks for the link ,
    appreciated

  • Massive Query blocking other Processes

    Hi 
    We are having a Sharepoint 2010 server and we have deployed a dot net custom application on it. Recently the application was working slow and the same was observed on out of box created lists using the out of box UI. 
    We found that it was originating from a SQL query which was blocking other processes. 
    Now this problem, occurs intermittently and goes away on its own in some time(~10 minutes). The query responsible is : 
    SELECT TOP(@NUMROWS) t1.[Type] AS c0, UserData.[ntext2], UserData.[datetime1], UserData.[nvarchar10], t6.[nvarchar5] AS c14c15, UserData.[float2], UserData.[int8], UserData.[tp_ItemOrder], UserData.[nvarchar1], t15.[nvarchar6] AS c36c34, UserData.[ntext1], UserData.[int7], UserData.[float1], UserData.[nvarchar19], UserData.[tp_ID], UserData.[nvarchar5], t5.[nvarchar4] AS c12c13, UserData.[bit1], t11.[nvarchar3] AS c24c25, UserData.[int11], t14.[nvarchar6] AS c30c34, t15.[tp_ID] AS c36c32, UserData.[tp_GUID], t1.[ProgId] AS c42, t1.[SortBehavior] AS c1, UserData.[tp_Author], UserData.[tp_Editor], UserData.[int1], UserData.[int6], UserData.[nvarchar13], UserData.[ntext5], UserData.[datetime4], UserData.[nvarchar18], UserData.[tp_ContentTypeId], t8.[nvarchar3] AS c18c19, UserData.[int10], t15.[tp_Created] AS c36c35, UserData.[tp_WorkflowVersion], t1.[LeafName] AS c37, UserData.[tp_Version], t1.[Id] AS c4, UserData.[nvarchar4], UserData.[nvarchar9], t14.[tp_ID] AS c30c32, t1.[TimeLastModified] AS c40, UserData.[tp_IsCurrentVersion], UserData.[tp_HasCopyDestinations], UserData.[tp_Level], t4.[nvarchar3] AS c10c11, UserData.[int5], t10.[nvarchar3] AS c22c23, UserData.[nvarchar12], UserData.[ntext4], UserData.[datetime3], UserData.[nvarchar17], t2.[nvarchar3] AS c6c7, UserData.[nvarchar20], UserData.[datetime8], UserData.[tp_HasAttachment], UserData.[tp_Modified], CASE WHEN DATALENGTH(t1.DirName) = 0 THEN t1.LeafName WHEN DATALENGTH(t1.LeafName) = 0 THEN t1.DirName ELSE t1.DirName + N'/' + t1.LeafName END AS c2, UserData.[nvarchar3], UserData.[nvarchar8], t7.[nvarchar3] AS c16c17, t13.[Status1] AS c28c29, t14.[tp_Created] AS c30c35, t15.[nvarchar4] AS c36c33, UserData.[tp_UIVersion], t1.[ItemChildCount] AS c43, UserData.[tp_CopySource], UserData.[nvarchar11], UserData.[ntext3], UserData.[datetime2], UserData.[nvarchar16], UserData.[tp_InstanceID], t3.[nvarchar3] AS c8c9, UserData.[int4], t9.[nvarchar3] AS c20c21, UserData.[int9], UserData.[float3], UserData.[datetime7], UserData.[tp_UIVersionString], t1.[TimeCreated] AS c38, t1.[ScopeId] AS c5, UserData.[nvarchar2], UserData.[nvarchar7], t14.[nvarchar4] AS c30c33, t15.[nvarchar1] AS c36c31, t1.[ClientId] AS c41, UserData.[int3], t12.[nvarchar3] AS c26c27, UserData.[datetime6], UserData.[tp_Created], UserData.[tp_ModerationStatus], UserData.[nvarchar6], UserData.[tp_WorkflowInstanceID], t1.[FolderChildCount] AS c44, t1.[MetaInfo] AS c3, UserData.[nvarchar14], t14.[nvarchar1] AS c30c31, UserData.[int2], UserData.[datetime5], t1.[DirName] AS c39 FROM AllUserData AS UserData WITH(INDEX=AllUserData_PK) INNER JOIN Docs AS t1 WITH(NOLOCK) ON (UserData.[tp_RowOrdinal] = 0) AND (t1.SiteId=UserData.tp_SiteId) AND (t1.SiteId = @SITEID) AND (t1.ParentId = UserData.tp_ParentId) AND (t1.Id = UserData.tp_DocId) AND ( (UserData.tp_Level = 1) ) AND (t1.Level = UserData.tp_Level) AND (t1.IsCurrentVersion = 1) AND (t1.Level = 1 OR t1.Level = 2) AND (UserData.[tp_ListID] =@LISTID) AND (UserData.[tp_CalculatedVersion] = 0 ) AND (UserData.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (UserData.[tp_DeleteTransactionId] = 0x ) LEFT OUTER LOOP JOIN AllUserData AS t2 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int1]=t2.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t2.[tp_RowOrdinal] = 0) AND ( (t2.tp_Level = 1) ) AND (t2.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t2.[tp_CalculatedVersion] = 0 ) AND (t2.[tp_DeleteTransactionId] = 0x ) AND (t2.tp_ListId = @L2) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t3 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int2]=t3.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t3.[tp_RowOrdinal] = 0) AND ( (t3.tp_Level = 1) ) AND (t3.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t3.[tp_CalculatedVersion] = 0 ) AND (t3.[tp_DeleteTransactionId] = 0x ) AND (t3.tp_ListId = @L4) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t4 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int3]=t4.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t4.[tp_RowOrdinal] = 0) AND ( (t4.tp_Level = 1) ) AND (t4.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t4.[tp_CalculatedVersion] = 0 ) AND (t4.[tp_DeleteTransactionId] = 0x ) AND (t4.tp_ListId = @L5) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t5 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int4]=t5.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t5.[tp_RowOrdinal] = 0) AND ( (t5.tp_Level = 1) ) AND (t5.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t5.[tp_CalculatedVersion] = 0 ) AND (t5.[tp_DeleteTransactionId] = 0x ) AND (t5.tp_ListId = @L5) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t6 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int5]=t6.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t6.[tp_RowOrdinal] = 0) AND ( (t6.tp_Level = 1) ) AND (t6.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t6.[tp_CalculatedVersion] = 0 ) AND (t6.[tp_DeleteTransactionId] = 0x ) AND (t6.tp_ListId = @L6) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t7 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int6]=t7.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t7.[tp_RowOrdinal] = 0) AND ( (t7.tp_Level = 1) ) AND (t7.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t7.[tp_CalculatedVersion] = 0 ) AND (t7.[tp_DeleteTransactionId] = 0x ) AND (t7.tp_ListId = @L7) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t8 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int7]=t8.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t8.[tp_RowOrdinal] = 0) AND ( (t8.tp_Level = 1) ) AND (t8.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t8.[tp_CalculatedVersion] = 0 ) AND (t8.[tp_DeleteTransactionId] = 0x ) AND (t8.tp_ListId = @L8) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t9 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int8]=t9.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t9.[tp_RowOrdinal] = 0) AND ( (t9.tp_Level = 1) ) AND (t9.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t9.[tp_CalculatedVersion] = 0 ) AND (t9.[tp_DeleteTransactionId] = 0x ) AND (t9.tp_ListId = @L9) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t10 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int9]=t10.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t10.[tp_RowOrdinal] = 0) AND ( (t10.tp_Level = 1) ) AND (t10.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t10.[tp_CalculatedVersion] = 0 ) AND (t10.[tp_DeleteTransactionId] = 0x ) AND (t10.tp_ListId = @L10) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t11 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int10]=t11.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t11.[tp_RowOrdinal] = 0) AND ( (t11.tp_Level = 1) ) AND (t11.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t11.[tp_CalculatedVersion] = 0 ) AND (t11.[tp_DeleteTransactionId] = 0x ) AND (t11.tp_ListId = @L11) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t12 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int11]=t12.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t12.[tp_RowOrdinal] = 0) AND ( (t12.tp_Level = 1) ) AND (t12.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t12.[tp_CalculatedVersion] = 0 ) AND (t12.[tp_DeleteTransactionId] = 0x ) AND (t12.tp_ListId = @L12) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN Workflow AS t13 WITH(NOLOCK) ON ( CAST ( CAST (UserData.[nvarchar18]AS VARBINARY) AS UNIQUEIDENTIFIER)=t13.[ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t13.SiteId = @SITEID) AND (t13.WebId = @WEBID) AND (t13.ListId = UserData.tp_ListId) AND (t13.ItemId = UserData.tp_Id) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t14 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[tp_Author]=t14.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t14.[tp_RowOrdinal] = 0) AND ( (t14.tp_Level = 1) ) AND (t14.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t14.[tp_CalculatedVersion] = 0 ) AND (t14.[tp_DeleteTransactionId] = 0x ) AND (t14.tp_ListId = @L14) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t15 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[tp_Editor]=t15.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t15.[tp_RowOrdinal] = 0) AND ( (t15.tp_Level = 1) ) AND (t15.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t15.[tp_CalculatedVersion] = 0 ) AND (t15.[tp_DeleteTransactionId] = 0x ) AND (t15.tp_ListId = @L14) AND (UserData.tp_ListId = @L3) WHERE (UserData.[tp_CalculatedVersion] = 0 ) AND (UserData.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (UserData.[tp_DeleteTransactionId] = 0x ) AND (UserData.tp_ListID=@LISTID) AND ( (UserData.tp_Level = 1) ) AND (UserData.tp_SiteId=@SITEID) AND (UserData.tp_RowOrdinal=0) AND (t1.SiteId=@SITEID AND (t1.DirName=@DN OR t1.DirName LIKE @DNEL+N'/%') AND t1.SortBehavior=0) ORDER BY UserData.[tp_ID] ASC OPTION (FORCE ORDER, MAXDOP 1
    Any ideas what is causing this? Any background process or the custom code.
    Thanks
    Akshay

    This looks like a standard List query (could be any list).
    Make sure your List View Threshold is 5000 or less (this is set on the Web Application, primarily). Lists that are queried for >5000 rows will introduce a table locking read.
    Make sure your SQL Server is set to a Max Degree of Parallelism of 1, as well.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Not executing the step

    hi ,
    im using loop in workflow.
    in loop i have used 3 steps.
    while i was watching the log i found that  one particular step was not executed and its going to the next step  even i have given the steps sequentially in the loop.due to that condition is not satisfied and its showing the maximun number of nodes reached.
    how to correct this error.
    please help me.
    Raghu

    Check your workflow definition to see what is wrong. Also analyze the technical log.
    Regards,
    Martin
    Edited by: Martin Nooteboom on Jun 13, 2008 11:59 AM
    Or as you will have found from your other thread, reset the buffers. Please try to be more clear when you ask a question and try to give as much information as possible.

  • FYI Notification getting canceled while sending notiifcation 2nd time

    Hello Gurus,
    I have a custom workflow which incorporates AME and AME returns 2 of FYI Receivers groups at the end. I have designed the workflow so that It get the approval group from AME and checks if thats the FYI Group or not. If its FYI Group then it sends a FYI Notification to that group and get backs to Get_Next_approver_from_AME function to get the next approval group. After regular approvals, for the 2 FYI groups which it gets at the end, It is sending the FYI notices to groups but while sending the 2nd FYI notice it is canceling the first one. I have tried all the possible solutions setting the "On Revisit" to "loop" instead of "Reset". Can anybody suggest any other solution for this?
    We are on R12 and using WF Builder 2.6.3.0.1
    Thanks,
    Sunny.
    Edited by: user13369509 on Jul 21, 2011 11:24 AM

    Set the 'On Revisit' value to 'Loop' and verify the issue.
    If the value is 'loop' then Workflow Engine simply re executes the pivot activity and all activities that follow in the loop, without resetting, as if they have never been executed before.

  • Condition check befor exporting records

    Can we put any condition before the records get exported.
    I.e as the records reach syndication manager for syndication i want a condition to be executed and then based on the result of condition i want syndication map to be selected
    Ex:-
    if acount group=zind i want syndication map CREMDM04 to be exceuted
    els i want CREMDM04_FI map to be executed.
    Can i at any place check this,whether in workflow or somewhere but b4 syndicating.
    Plz reply me
    Regards
    Lakshmi

    Hi Shifali,
    It is like , since you are using conditional Validation you should use the Branch step instead of the individual Validation step firstly.
    You can have your set of 20 Validations as designed which will be applicable to all  the records.
    Create 2 sets of this group Validations so say you have
    - Group1_Validations
    - Group2_Validations
    The Group1_Validations will have all the common validations and along with that the Acct group validation also which, will check if the account group of the particular record is ZIND.
    The Group2_Validations will have all the common validations and along with that the Acct group validation also which, will check if the account group of the particular record is ZMIS.
    So all the records which will fulfill all the common validations and have acct group as ZIND will move in one path
    and the other records having acct group ZMIS will take the default path.
    For the records taking the first path you can hav ethe syndicate step which will save the desired CREMDM04 port
    and the deafult records will go to the other syndicate where that port will have CREMDM04_Fi deatils in the map.
    So accordingly your records will get routed.
    Your workflow will look like this
    /Syndicate1-----Stop
    Start-Process>Branch----<
    /Syndicate2-----Stop
    Branch will have 2 Validtion groups
    Group1_Validations- Syndicate1
    Group2_Validations- Syndicate2
    Syndicate 1 will have port storing all the necessary settings that match CREMDM04 map
    and Syndicate 2 will have the port storing all the necessary settings that match CREMDM04_FI map
    You can have a glance on the below links to get a betetr idea:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a (LOOP in Workflows-Approvals)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9180cbaf-0801-0010-f882-f2af6dc975d0 (Dynamism in mdm workflows)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Rx2 or rex files in media browser at 96khz and up

    help please....
    I am a techno / deep house producer and been working with logic for quite a while albeit mostly with external/internal samplers.Recently I switched to more loop oriented workflow and using the media browser to preview and import loops.
    My Dynaudio Air monitors are more than cool with 96 and 192 and so is the machine so I decided to wrk in 96khz which is awesome for sound...but here lies the problem...
    Since the change - I cannot audition rx2 or rex files... only wav/apple loops....it does wrk back in 44 but thats not really usefull.
    Any nudge as to how to solve this from the forum folks would be highly appreciated!
    Or would my only choice be to drop another 60 euro on Audiofinder?

    Hi bston475,
    Please provide us some more information mention below.
    1. The version of Premiere Pro that you are using
    2. Do you have an external drive that you are trying to access.
    3. Mention the formats of the clips that you are using.
    Regards,
    Ashish

Maybe you are looking for

  • Development and Production

    Hi All, I had to append a field in development.  I appended in dev. already there is init and delta happening.  Every half an hour delta is uploading.  so after I append the field, do i do a full upload or init again or do a delta again?  so what hap

  • Cannot drop PDB - insufficient privileges

    I created a PDB, and then tried to drop it. I cannot drop it, I get "insufficient privileges" error.  Here is the SQL session : ============================================== -bash-4.1$ ./sqlplus system/manager1 SQL*Plus: Release 12.1.0.1.0 Productio

  • WM: Error during KANBAN call

    Hi, We are getting following error during KANBAN call (T code: PKMC). Error message: Supply area storage location does not match corresponding entry in WM Customizing What might be going wrong?

  • Messaging Bridge logging level

    Hi, I am setting -Dweblogic.Debug.DebugMessagingBridgeRuntime=true in the server start-up script. In the managed server log, the log messages related to messaging bridge are written from DEBUG level. Is there any way to restrict the messages from WAR

  • Updating glitched music in iPod.

    I recently had to re-import some CD's using error corrections. They now play perfectly in iTunes, but the iPod will not re-sync with the new "glitch-free" versions. Any ideas?