If rule doesnot return an approver then complete the workflow...

Hi,
I have a rule which in some cases doesnot return agents(approvers), in that case use the task to post the fi document and complete the workflow. This needs to be achieved. Let me know, if this is possible.
Thanks,
Sukumar.

Hi,
You will have to do the following things:
1. Create a new container element type WFSYST-AGENT.
2. Populate that container using your method having RH_GET_ACTORS FM.
3. Use a Condition Step to check if the new container element is initial or not.
  If it is initial bypass the approval step otherwise it will continue in the approval process.
Regards
Gautam
Edited by: gautam maini on Oct 20, 2010 1:56 PM

Similar Messages

  • Something went wrong. To try again, reload the page and then start the workflow

    We have a SP 2013 farm with Aug 2013 CU. While trying to start an SPD 2013 platform workflow from browser I get an error "Something went wrong. To try again, reload the page and then start the workflow."
    I could also see the following in ULS:
    System.NotSupportedException: Not supported in Windows authentication mode.
    at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean
    isShareByLinkGuestUser)
    at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.GetApplicationUserCredentials
    (WorkflowServicesContext context) StackTrace:
    at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|
    microsoft.office.server.native.pdb, offset=131CE)
    at Microsoft.Office.Server.Native.dll
    This seems to be a bug and is solved in Mar 2013 PU but I have Aug CU. The web where I have this workflow has classic mode auth. Has anyone come across this error before?
    I have checked the following:
    1. Service
    Bus Gateway and Service
    Bus Manager Broker services are started
    2. Authentication for this web application is Windows NTLM
    -- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com

    Thank you for the steps.
    I have checked User Profile service and it is started and running fine. The user who is trying to start the workflow (me) has a profile created. I'm not starting wf as system account and my account is not added to web application user policy. Workflow isn't
    even firing when I try to edit list item.
    I tried to edit the list item as system account and workflow started this time. But it does to suspended state with the following message:
    RequestorId: 54f4a912-ab0b-a1f2-0000-000000000000. Details: RequestorId: 54f4a912-ab0b-a1f2-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401
    {"SPRequestGuid":["54f4a912-ab0b-a1f2-be58-305dd8b6eab4"],"request-id":["54f4a912-ab0b-a1f2-be58-305dd8b6eab4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["2"],"SPIisLatency":["1"],"MicrosoftSharePointTeamServices":["15.0.0.4535"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Thu, 24 Apr 2014 15:32:05 GMT"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    WhenI try to start wf I can see the first error:
    System.NotSupportedException: Not supported in Windows authentication mode.    
     at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean isShareByLinkGuestUser)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.GetApplicationUserCredentials(WorkflowServicesContext context) StackTrace: 
     at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE)
     at Microsoft.Office.Server.Native.dll: (offset=21B4D
    -- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com

  • Something went wrong. To try again, reload the page and then start the workflow, error on starting a workflow

    i have already create a custom workflow with sharepoint designer and checked for error and it seem fine. i published it on my document library so apprear the first issue : the column that contain the name of my workflow apprear and the link to start my workflow(contain
    the name of my first stap) doesn't appear. the second problem is that when i tried to start the workflow manually on a specific document i get an alert : Something went wrong. To try again, reload the
    page and then start the workflow
    i tried : -restart service bus message broker -restart service bus gateway -recycle workflowMgntpool -flushed the dsn resolver cache and the problem still occure
    on uls log viewer it seems to be an error on w3wp.exe process
    the workflow history is empty

    Hi Mokhtar,
    For your first issue, when you publish a workflow to your document library, only after you start the workflow, then the link to go on the workflow(contain the name of the workflow stage) will appear.
    For your second issue, my understanding is that you got an error when you manually start a SharePoint Designer 2013 Workflow.
    Please go to Administrative Tools->Services, make sure the following services are started.
    Workflow Manager Backend
    Service Bus Message Broker
    Service Bus Gateway
    Windows Fabric Host Service
    Here are similar posts for you as a reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/12f8ae26-6889-4227-a3fc-dd29a38230a6/something-went-wrong-to-try-again-reload-the-page-and-then-start-the-workflow?forum=sharepointcustomization
    http://community.office365.com/en-us/f/154/t/277480.aspx
    If the issue still exists, please check Event Viewer to check more information about this issue.
    http://msdn.microsoft.com/en-us/library/jj193526(v=azure.10).aspx
    I hope this helps.
    Best Regards,
    Lisa Chen
    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]

  • Approval Process in the workflow

    Hi, in the current approval process, where the user receives a notification and then when the user clicks the approve button, it will build up another email and with all the messages and the user needs to click "send" to send the email, this is in Microsoft Outlook. Has anyone ever tried to customize so when the user clicks " Approve" button, it is automatically processed behind the scene without opening another mail and click "Send" button? Thanks.

    I don't think this is possible.
    When you click on the approve button and send an email, a few things happen.
    An email is formulated with the notification id and a code that corresponds to the action the user took. The email is sent to your Oracle EBS.
    Oracle EBS has a process that reads the incoming emails; deciphers the notification id and the action_code from the email and processes the workflow accordingly.
    Making changes to this architecture will be tough if not impossible.
    Hope this helps,
    Sandeep Gandhi

  • Approval Preview when the workflow is finished

    Hello,
    We have implemented the BADI to get multiple level approvals in Shopping Carts. When we display the approvers via Approval Preview the system works fine if the workflow is in process, but when the workflow is finished we donu2019t display anything.
    We have SRM 4.00 and the support package SAPKIBKS13 for SRM_SERVER 500
    Thanks in advance, Juan Manuel

    Hi,
    Please check for following excrepts from SAP help sites:
    1. OSS Note 1093840, content here may help to debug.
    2. You are using ad hoc agent objects to determine your agents, do not use rules directly as this limits the functionality 
        available especially during approval preview and can have knock on effects in the display
    3. Mark any steps you have added that are not approval steps as "step not     in workflow log" - the applet display is based on
       the graphical workflow log and unexpected steps can cause unexpected effects in the applet display
    4. Make sure you follow the same pattern based approach if you are adding extra approval steps, e.g. make sure the approval
        step itself has the same group name as the other approval steps
    Also additionaly check for workflow log(SWi6) . If WF is working fine.
    Thanks

  • Unable to create rule Error:Function Module does not meet the workflow conv

    Hi Workflow experts,
    Could any one help me with rule creation. Below is my Function Module Interface.
    ""Local Interface:
    *"  TABLES
    *"      AC_CONTAINER STRUCTURE  SWCONT OPTIONAL
    *"      ACTOR_TAB STRUCTURE  SWHACTOR OPTIONAL
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
    The function module test is successful with all required conventions for workflow but while i try to create a rule with the funtion module i get the error "Function Module does not meet the workflow conventions"
    I Also have included the following in FM
    INCLUDE <cntn01>.
    Any suggestions would be helpful. Thanks in Advance,
    Imran

    Hi,
    I am not sure whether the rule accepts the optional flag. Remove the optional flag for the tables parameters and try again. According to the documentation you have implemented the right interface. It might be the issue with the tables parameter being optional.
    Hope this helps,
    Sudhi

  • Reg : To maintain subustution approver for all the workflow related mails

    Hi
    I what to know how to maintain a substution for some days for the following req.
    As our CTO kyle whitehill is our present approver is going on a christmas & new year leave would like to Delegate his PO approval authority to R Unnikrishnan . new approver for some days  AVP u2013 Network Commercial
    So i want to configure that all the workflow related mail should go to the new person.
    Pls help me on this,
    Regards
    Suresh.

    Hi,
    You can create substitution using the function module SAP_WAPI_SUBSTITUTE_MAINTAIN or using the transaction RMPS_SET_SUBSTITUTE.
    Here you have to enter the username of the person for whom you want to maintain substitute, username of the substitute start date and end date of substitution.
    This will do the job.
    Note : Substitution allows only workitem sharing and not mail sharing.
    Regards,
    Raj

  • Q: GraphAPI returns "Insufficient privileges to complete the operation." when setting Mobile field, Password Reset works!

    I'm experiencing the behaviour noted in the subject. Being able to reset a password but not mobile a Mobile number seems odd to me!
    Any assistance warmly received.
    //Adam

    Adam, can you provide some more details on how you've configured the application? What kind of application (WebApp/WebAPI or Native Client)? What kind of permissions does the application have? Which application permissions, and which delegated permissions?
    And finally, what directory role does the signed in use have? (User, Global Admin?)
    Also, is the user you are trying to act on the signed in user acting on themselves, or on another user?

  • Parallel approval question of the workflow process.

    Hello Expert,
    I have the following business process scenario which will be realized by new BPMN. My qusestion is how to do with it on BPMN?
    I have one human activity in one step. The condition to pass this step is that all the potential owners of this step should approve, if one rejects this step, then workflow terminates.  Is there anyway to reach the solution, i mean the task is sent to the approvers parallelly and i want to get all of their response?
    Any help will be appreciated..
    /BR
    Erick

    Hi Erick,
    a few words of warning though:
    If the end condition for the recursion is not modeled correctly and the process runs into an endless recursion you can easily break the system with this! Since the NetWeaver BPM is trying to pick up where it left off, such a situation can not easily recorvered from, even by restarting the server!
    Recursive subprocess calls consume quite a bit of resources, so it is not recommended to do this with many nesting levels. Start out with only a few and look in the SAP MMC how the Java memory behaves. But I guess for a (hopefully short) list of approvers this approach should be ok.
    Modeling this correctly can be a bit tricky. From my experience you should especially mind two important points:
    Make sure you synchronize concurrent executions paths (creates with a parallel split gateway) at the end with a matching join gateway.
    Do not put the end condition for the recursion in the correlation condition of the start event of the subflow: this will cause the subflow to never start and hence never return to the calling process. The result will be that the main process never terminates. Use an explicitely modeled exclusive choice gateway for this.
    Best regards,
    Oliver

  • Duet has encountered an error during Approve , Reject Reassign the workflow

    Hi,
    We have implemented DUET with two scenario (LEMA & WOMA) in our organization. When try Approve , Reject or Reassign the Duet work flow Item  Duet has encountered an error . The scenario was working fine earlier. Suddenly the error has start coming. The error is coming in a pop up window. I am attaching the error details from event log.
    Event Type:     Error
    Event Source:     Duet Diagnostics
    Event Category:     None
    Event ID:     0
    Date:          1/04/2010
    Time:          10:49:37 AM
    User:          N/A
    Computer:     xxxxxxxxxxx001
    Description:
    Error in Approve/Reject from Approver Mail.
    Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Method: Close
    StackTrace:   at Microsoft.Office.Interop.Outlook._MailItem.Close(OlInspectorClose SaveMode)
       at SAP.Office.Apps.Leave.Outlook.LeaveApproverMailInspectorCodeBehind.AfterOnSelectControl(String name, String param)
         =====Additional Information=====
    oba://oba.microsoft.com/outlook?boundItemId=
    Bound Item ID:
    Bound Item Type:
    Correlation ID:
    Process Name: C:\PROGRA1\MICROS3\Office12\OUTLOOK.EXE
    User Name: xx\99901
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Thanks in advance,
    Monirul Islam

    HI Monirul,
    You can get better advice and help in another forum dedicated to Duet only.
    Regards,
    Sangvir

  • How to resend the approval email in the Workflow

    Hello everyone,
    Is it possible to resend the email to one particular Release Code level (RM06B-FRGAB), after the Purchase Requisition has already been approved by 2 Release Codes before that one?
    For exaple: my PR number is 1234567890, and my release strategy has three Release Codes L1, L2 and L3.
    The PR is already approved by L1 and L2, but now I have to resend it to L3 once more.
    Is that possible, and how?
    Or at least, can I resend it to all the release codes (if it's impossible to send it to one particular)?
    There is no SES included.
    Thank you all.

    Hello Kumar,
    I can execute the SA38 to run the RSWUWFML2, but I am not sure what parameters do I need.
    I've never used this program before. My SAP is 4.6c.
    Please tell me what parameters I need to enter to get what I want.
    I have the SC number, PR number, user ID in the Lotus Notes, etc. but I am not sure what do I need to enter and how.
    This is the default setup:
    Job suffix: 2
    Tasks (blank = all): blank
    Only New Work Items: unchecked
    With Passive Substitution: unchecked
    Collective Message: checked
    Workflow Entry: unchecked
    Message Class for Subject: SWU_NOTIF
    Message Number for Subject: 1
    Before Work Item Description: SWU_NOTIF_INBOX
    SAPLOGON_ID: blank
    From work item creation date: blank
    From work item creation time: 00:00:00
    Users (blank = all): blank
    Errors Onlu: checked

  • Connect SharePoint to SQL Server Database Then Build Rules Based Returns System

    Hello Guys,
    I work for an ecommerce business. We sell a wide range of products to customers all around the world which are ordered from our websites and then dispatched to our customers from our warehouses.
    I have been tasked with developing a computerised return system from the company because at the moment everything is done using paper forms.
    We have all our customer, order and product data within SQL Server databases.
    What I would like to know is...
    1. Can we connect sharepoint online to a local sql server database
    2. Could we then build searches within sharepoint to display data contained within these databases e.g. customer information etc
    3. How is the data presented in sharepoint - is there a way to design how the data is displayed within sharepoint etc?
    4. Can we then build a rules based return system within sharepoint? The on screen workflow would need to vary according to data contained within the database e.g. the weight if the product being returned and also on fields input by the service agent such
    as the reason for the return, what solution the customer would like etc.
    5. is it possible to build these workflows in such a way that they can be saved part way through then gone back to later
    6. Can reports be build based on the returns that are being generated e.g. list of products most commonly returned
    Sorry for all the questions, I am a bit of sharepoint novice. I think it may possible be able to do what we need but I just wondered if the answer to any of the above questions is definately a no because if it is that could mean it is not suitable
    Thanks

    You could use a BCS connection
    http://community.office365.com/en-us/b/office_365_community_blog/archive/2012/10/11/business-data-connectivity-services-in-office-365-sharepoint-online.aspx, this will allow you to edit data in your non SharePoint SQL DB, on premises, from Office 365 SharePoint.
    Search will index the web applications you point it at, and the lists from the BCS will be part of those web apps, site collections, sites at some place and will get indexed. 
    You can create views on the data, that can sort of work like a search, but when you search on the site where the lists are the query will return results based on the BCS data.
    These views can be based on criteria such as the weight of the product being returned and other fields.
    The data is presented as a list.
    You can make it read only or read-write based on SharePoint permissions on the list.  The account used to create the connection can edit.
    BCS is possible in on-premises SharePoint too
    here is a good read on it,
    http://www.dotnetcurry.com/showarticle.aspx?ID=632
    Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com

  • To complete a workflow manually

    Is there a way to complete the workflow for a particular object id manually so that it does not trigger and its instances does not get executed.

    Hi,
    Do you mean that now the workflow should not get triggered event the Business object is getting triggered with out making any changes to workflow..
    Then you can do it in SWE2 tcode..Event type linkages..
    select the workflow linked with the corresponding Business object and double click on it.. you will be into another screen and there you will find a check box like LINKAGE ACTIVATED. Uncheck that checkbox... so that even if the corresponding Business object gets triggered then the workflow will not be triggered
    as the event linkage will be inactive...
    And again if you want you can repeat the same with out changing in either the workflow or Business
    object.. Just activating the Event linkage..
    Hope this would help you and solve your issue.
    Good luck
    Narin

  • When I try to open genius I get the message"could not complete the itunes store request. The store may be busy."

    I've tried to open genius numerous times and I get the same error message. I llike to make playlists with songs from my library.What is the solution so I can use genius?

    This is what I did to resolve this problem. First, I uninstalled Firefox 4 & removed the Firefox folder left behind. I made sure to NOT select the option to delete personal information. Next, I backed up all of the important files on my computer. Next, I upgraded my Windows 7 to Service Pack 1, which was pending in my updates folder. Then, I went to Mozilla's website & downloaded Firefox 4 again, making sure to select only the Firefox browser and not Thunderbird too. http://www.mozilla.org/ When prompted to close any open programs, I closed Internet Explorer (which I had used to get to the Mozilla website) and I disabled my Norton anti-virus. I then completed the installation & it works just fine now. It loaded all of my personal data, such as bookmarks, it remembered my password, etc. It's fine for my needs, as I'm not a heavy user of special add-ons & plug-ins. Some of those may not work yet with the new version.

  • When all Task's are completed also complete the Phase (PPM 5.0)

    Dear gurus;
    I need to know if the Project Phase can completed automaticaly, when all phase  task's are completed.
    Someone did this in PPM 5.0?
    *Project Definition
    Project Phase
    Task 1
    Task 2
    Task 3
    Best regards,
    Mariano.

    Hello Mariano Sabiche,
    I have done this in previous versions but I don't think there is any difference in PPM 5.0 in this functionality. This can be achieved by implementing automated workflows by using the triggering events or status change actions.
    So depending on the details of your scenario:
    1. You may trigger this automated workflow upon the status change of the last task in the phase.
    2. You may use "relationships" between various tasks and look for the last task to be executed and then trigger the workflow.
    Hope this helps.
    Please let me know if you need any further details.
    regards
    N K

Maybe you are looking for

  • Is there a way to see if a transport has $TMP assigned to any objects

    Is there a way to see if a transport may have items that are in $TMP?

  • Error in posting billing documents mesg FF805

    Dear SAP Gurus , When the billing documents are created via VF01 the accounting entry does not get posted. The error displayed is is  “Tax statement item missing for tax code V1 “ Message number: FF805 We have multiple tax condition types and diffren

  • HP Printer Assistant software always opens in full-screen mode

    Hi I have a large screen and it is just annoying that the HP Printer Assistant software opens in full screen mode and I have to make adjustments to the window to get it out of the way every time I open it. Does anyone have a solution ? Thanks Tony

  • Having trouble conecting to Wi-Fi!  Here's the answer...

    THIS WORKS (for most) First, Click/Open your Settings icon, then Click/Open on the Wi-Fi icon, then Click/Open the blue icon dot for the network you want to enter the WEP key for, then Click on the "WEP Password" in the security window, then switch i

  • Problem with SQL 2005

    Hi All: After successful export with R3Load of a ECC5.00 (Kernel 6.40 Patch level 171) when we import the data into SQL2005 SP1 and after successful import into the target database, we have some inconsistencies in several DYNPROS, we got errors like