Workflow status is getting cancelled .

Hi All ,
I am using a workflow which working completely fine but at the end of workflow I am getting the status as ''CANCELLED" rather than Completed, I can see in the log that after the complition of last step I am getting the status logically deleted . I also checked in workflow agents view to check that if some one has logically deleted it manually but getting no one .
Can you please help me in this .
Thanks in advance !!!
Ashish .

Hi Ashish
try these:
1) First of all, in your fork, right branch, where you are waiting for POSTED event, also receive the _EVT_CREATOR from the event (in the binding from event to WF) , if it is WF-BATCH, loop back to wait for event so that when posting is done from the Workflow, it does not ends itself. The completion of workflow will be taken care of by the other (parallel) branch of the fork
2) Yes, its confusing that why it is getting CANCELED. Is the MAIN workflow getting canceled? I doubt....it must only be the last few steps in the left hand branch (decision branch) of the fork; before those could be executed, the left branch of Wait event was over and thus nullified thosestep(s). Please confirm if the step status is CANCELED or the Main WF Status is canceled. If it's just the step, then point one would take care of it
3) If the MAIN WF gets canceled - then do check the workflow header-> the HAT icon-> Version Dependant Tab->Events Tab-> Check if POSTED is set to "CANCEL" the workflow (under Receiver type)....this could be causing the cancellation
Regards,
Modak

Similar Messages

  • Workflow status is missing from the List after make some change in workflow

    Hi,
    We have this strange situation where the workflow status is missing from List views. Here is the situation:
    Now if I check the All List view of this list, I can see these workflows that shows the status of the workflow - say "In progress", "Completed" etc.
    When i make some workflow modification and after i save and publish. The workflow status in List will missing.
    This issue happening  is intermittent.
    Why does this happen?
    Any workaround/findings for the above scenario are much appreciated.
    Thanks
    JWei

    Hi JWei,
    The workflow status column gets created when you first create the workflow and its first instance runs. The columns gets removed (and disappears from the view) if you delete the workflow or remove all instances of the wf on the list.
    Please check whether you created some lookup columns in this list. If yes, please increase the lookup threshold for that web application in Central Administration.
    Please create a new view which only contains the Title column and Workflow Status column, modify the workflow, check the workflow status column in the new view, compare the result.
    Please create a new list, create a workflow, and test again, compare the result.
    Please check if the link below is useful for you:
    http://naimmurati.wordpress.com/2013/11/11/workflow-progress-column-missing-in-a-document-library/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Tasks get completed but workflow Status shows 'Error Occured' and not 'COmpleted' in Sequential Workflow Visual Studio 2010

    I have a custom approval sequential
    private void completeSPTask_MethodInvoking(object sender, EventArgs e)
    SPListItem task = workflowProperties.Web.Lists["Workflow Tasks"].GetItemById(WfApproveTaskItemId);
    task[SPBuiltInFieldId.WorkflowVersion] = 1;
    task["Status"] = "Completed";
    task.SystemUpdate(false);
    if (task["Status"].ToString() == "Completed")
    Hashtable HTdata = new Hashtable();
    // HTdata["Status"] = "Completed";
    // HTdata[SPBuiltInFieldId.Completed] = "TRUE";
    HTdata[SPBuiltInFieldId.PercentComplete] = 1;
    HTdata["FormData"] = SPWorkflowStatus.Completed;
    // HTdata[SPBuiltInFieldId.TaskStatus] = SPResource.GetString(new CultureInfo((int)task.Web.Language, false),"WorkflowTaskStatusComplete", new object[0]);
    SPWorkflowTask.AlterTask((task as SPListItem), HTdata, true);
    task.Web.Update();
    workflow which works properly, the task status gets completed
    When the tasks are 'In Progress' the workflow status also remains "In Progress" but when the task is completed , it shows error Occurred. The following is my code in CompleteTask method.

    I got it working by removing the complete task method and by updating the task in the ontaskchanged event , In that case both the task as well as the workflow gets updated

  • Get workflow status abap object way

    Hi all of you,
    I am facing a workflow problem.
    I am working on a class that implements the interface IF_SWF_IFS_WORKITEM_EXIT.
    That class will be trigger after a user decision step to update a database table with current workflow informations.
    <b>My problem is how to find the workflow status (but not the user decision one) by knowing that my class is executed in the user decision step.</b>
    I know that I have this information in the table SWIWIOBJCT but as I decided to achieve my task using abap object, I would like to know if somebody know a simple way using abap object.
    I am facing another problem: if the user decide to approve the document my workitem (for the user decision step and the global workflow) will now have the COMPLETED, but at the moment my class is executed they don't have the COMPLETED status yet.
    Do someone know if the information on the new status of the workflow is stored anywhere?
    I don't know if I have exposed clearly my problem, but I can give some points to any helper since the answer is helpful.
    Thanks in advance.
    Rene

    Sorry for my language. Information about workflow work item's (WI) status can find in SWWWIHEAD (transparent table) by simple select or using FM SWW_WI_WL_READ (on enter need give id of WI).
    For another problem: can you get information about WI status twice from your own class (on enter and on out)? If can - check of changes status and did your procedures...

  • How to set workflow status when workflow manually cancelled?

    Hi All,
    When i manually cancelled designer workflow, then status comes as 'cancelled'. Instead i need to set different status. How to  achieve this? 
    Thanks in advance!

    You can use this action
    Set Workflow Status
    This action is initially displayed in a workflow step as Set workflow status to Canceled. Use this action to set the status of the workflow. The default options are Canceled, Approved, and Rejected.
    You can enter a new status value in the dropdown in the action. Once you enter a status value, the entry is automatically added to the dropdown list. For example, you can enter a status that is more user-friendly and informative than Completed or Canceled,
    such as Expense Report Approved.
     NOTES 
    You cannot rename or delete a status value once it has been created. However, you do not have to use it.
    A custom status is applicable to the current workflow only, and cannot be used in another workflow.
    A workflow cannot use custom status values that you define in the action if the action is used inside an impersonation step.
    If the Set Workflow Status action is the last step in your workflow where you have also used a custom value, you can see your custom value in the Status column in
    the list upon workflow pausing or completion.
    Following is an example of what the action might look like in a workflow step,
    Set workflow status to Specification status: Ready for Design Review
    http://office.microsoft.com/en-in/sharepoint-designer-help/workflow-actions-in-sharepoint-designer-2010-a-quick-reference-guide-HA010376961.aspx
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • Workflows getting cancelled

    Only the canned workflows work anything else no matter how simple gets cancelled by the system. 2010 or 2013 email or no email. Every site collection in the web app. Workflow management is connected and enabled. Enterprise features are enable and I am
    up to the latest service pack. There is one WFE one APP and one SQL server. User Profile Sychronization does stop alot for no apparent reason (and what's up with that?) other then that the site collections are fine. 

    Hi Maryland, what are you building the workflow with- Designer? Did workflows ever work with the tool you're using?
    Either way, you should post this in the "Using SP Designer, InfoPath and other customizations" forum.
    cameron rautmann

  • Find how the Workflow OTA_LNR_TRNG_CANCEL_JSP_PRC is getting triggered

    Hi all,
    Hi I am new to workflows.
    I have been trying to find out like crazy, how exactly the following Workflow is being triggered?
    Workflow Process Internal name: OTA_LNR_TRNG_CANCEL_JSP_PRC
    Workflow Process Display name : Cancel Learning Enrollment
    The following is what exactly happens:
    Using the Responsibility Learner Self-Service-->Learner Home
    In the Home Tab, under enrollments, a list of all the courses that the user has enrolled for is displayed.
    now i un-enroll, using the Un-Enroll button.
    Now you come to the Unenroll: Pre Assessment page, where you select the New Status and Reason. Then press Finish.
    You will get a confirmation and also a notification will be sent to you and your supervisor.
    I need to customize this workflow, buti am unable to find out how is this workflow getting triggered.
    I found out in the OAF page that when the un-enroll button is being pressed a form function OTA_LEARNER_CATALOG_ENROLL_DTL is being callled and this does has Form parameters:
    pCancelProcessName=*OTA_LNR_TRNG_CANCEL_JSP_PRC*&pCancelCalledFrom=OTA_LEARNER_CATALOG_ENROLL_DTL&pItemType=HRSSA
    But when i change the value of the pCancelProcessName to my custom process name, it still is refering to the seeded WF process.
    Can anyone help me figure out where exactly is this workflow being triggered. Am really going nuts now? :S

    I think that the WF is being called from an API
    OTA_DELEGATE_BOOKING_API.UPDATE_DELEGATE_BOOKING
    AND IN THAT THIS PARTICULAR CONDITION:
    IF l_type ='C' and l_delegate_contact_id is null and l_contact_id IS NULL
    and nvl(p_source_cancel,'-1') <> 'AME'
         and l_event_rec.event_type in ('SCHEDULED','SELFPACED') then
    OTA_LRNR_ENROLL_UNENROLL_WF.learner_unenrollment(p_process => 'OTA_LNR_TRNG_CANCEL_JSP_PRC',
    p_itemtype => 'HRSSA',
    p_person_id => l_person_id,
    p_eventid => p_event_id);

  • Move workflow status column from one library to another in Sharepoint 2010

    Good morning,
     I have two libraries in the same site, LibraryA and LibraryB.
     On LibraryA, users upload documents upon which they start a collect signatures workflow. The view on LibraryA contains a column with the signatures workflow name showing status: ‘Compete’, ‘In progress’.
     Now on LibraryA I have created a workflow to move any document one month after creation to LibraryB (using retention schedule) irrespective of signature workflow status.
     Now what I would like is to have the signature workflow status shown in LibraryB as well. From what I understand you can add the workflow status column only on the library with which the workflow is associated. I also tried, on LibraryB, to create a new
    column which Lookups in {Signature Approval History – Outcome} but this did not do the trick either.
     Any workarounds?
     Many Thanks

    Hi,
    According to your description, my understanding is that you want to move the workflow status column to another library in SharePoint 2010.
    I recommend to use another column to get the value of the workflow status column and then move this column to another library.
    We can use workflow to update the column with the value of workflow status column.
    However, the workflow status column stores the value with numbers which represent different status, so we need to update the column with corresponding status based on the numbers in the workflow.
    http://chanakyajayabalan.wordpress.com/2010/03/08/sharepoint-workflow-status-codes/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Lock box jobs getting cancelled

    Hello All,
    I am new to lockbox processing. I am into lock box support project now. Recently lot of lock box jobs are getting cancelled. While I am going through job log it says that " Payment advice 01706525923 does not exist for account 10001009 0110 ". Similar error showing for few other jobs. Can you please anybody through some light on this regarding how to investigate this error?
    Thank you,
    Santosh

    When ever you get such kind of message then it says that it has found the customer and not found the document to post.
    Now when you got to T.code FLB1. you can see that in "on account" status.
    Now through lockbox post processing you have to post/clear the document (thru F.04) to make the document to "Applied" status.
    Assign points if useful.

  • How to send a mail to the user when a job gets canceled?

    Hi experts,
                      I need to send a mail when a job gets canceled to the user.I know the FM for sending mail and i can find if a job is canceled from tbtco,but i want to know how to send the mail from the same program ,once it got canceled ?
    thanks in advance,
    helpful answers will be awarded with points
    regards,
    ashwin

    Hi Ashwin
    Use the below peace of code:
    REPORT ZBCJOBMONITOR .
    TABLES: SOMLREC90,
            TBTCO.
    DATA: MAILDATA   LIKE SODOCCHGI1.
    DATA: MAILTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC    LIKE SOMLREC90 OCCURS 0  WITH HEADER LINE.
    DATA: I_TBTCO    LIKE TBTCO OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001 .
    SELECT-OPTIONS: S_JOB FOR TBTCO-JOBNAME.
    SELECT-OPTIONS: S_JOBC FOR TBTCO-JOBClass.
    SELECT-OPTIONS: S_REC FOR SOMLREC90-RECEIVER.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      CLEAR:    MAILDATA, MAILTXT, MAILREC, I_TBTCO.
      REFRESH:  MAILTXT, MAILREC, I_TBTCO.
      PERFORM GET_ABENDED_JOBS.
      PERFORM BUILD_RECEIVERS.
      LOOP AT I_TBTCO.
        PERFORM BUILD_TEXT_MESSAGE.
        PERFORM SEND_MAIL_NODIALOG..
      ENDLOOP.
         Form  BUILD_TEXT_MESSAGE
    FORM GET_ABENDED_JOBS.
      SELECT * FROM TBTCO
              INTO CORRESPONDING FIELDS OF TABLE I_TBTCO
                         WHERE JOBNAME IN S_JOB
                           AND STATUS = 'A'
                           AND JOBCLASS IN S_JOBC
                           AND SDLSTRTDT = SY-DATUM.
    ENDFORM.
         Form  BUILD_TEXT_MESSAGE
    FORM BUILD_TEXT_MESSAGE.
      DATA: DATE(10) TYPE C.
      DATA: TIME(10) TYPE C.
      MAILDATA-OBJ_NAME = 'MONITOR'.
      MAILDATA-OBJ_DESCR = 'Batch Job Monitor'.
      MAILDATA-OBJ_LANGU = SY-LANGU.
      CONCATENATE 'Job Name:' I_TBTCO-JOBNAME
                  INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      PERFORM FORMAT_DATE USING I_TBTCO-SDLSTRTDT
                                DATE.
      CONCATENATE I_TBTCO-SDLSTRTTM+0(2) ':'
                  I_TBTCO-SDLSTRTTM+2(2) ':'
                  I_TBTCO-SDLSTRTTM+4(2)
                     INTO TIME.
      CONCATENATE 'Start Date/Time:' DATE TIME
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      CONCATENATE 'Job Class:' I_TBTCO-JOBCLASS
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      MAILTXT-LINE = 'Job has terminated abnormally'.
      APPEND MAILTXT.
    ENDFORM.
         Form  BUILD_RECEIVERS
    FORM BUILD_RECEIVERS.
      LOOP AT S_REC.
        CLEAR MAILREC.
        MAILREC-RECEIVER = S_REC-LOW.
        MAILREC-REC_TYPE  = 'U'.
        APPEND MAILREC.
      ENDLOOP.
    ENDFORM.
         Form  SEND_MAIL_NODIALOG
    FORM SEND_MAIL_NODIALOG.
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = MAILDATA
                DOCUMENT_TYPE              = 'RAW'
                PUT_IN_OUTBOX              = 'X'
           TABLES
                OBJECT_HEADER              = MAILTXT
                OBJECT_CONTENT             = MAILTXT
                RECEIVERS                  = MAILREC
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                DOCUMENT_TYPE_NOT_EXIST    = 3
                OPERATION_NO_AUTHORIZATION = 4
                PARAMETER_ERROR            = 5
                X_ERROR                    = 6
                ENQUEUE_ERROR              = 7
                OTHERS                     = 8.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.
         Form FORMAT_DATE
    FORM FORMAT_DATE USING IN
                           OUT.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
                DATE_INTERNAL            = IN
           IMPORTING
                DATE_EXTERNAL            = OUT
           EXCEPTIONS
                DATE_INTERNAL_IS_INVALID = 1
                OTHERS                   = 2.
    ENDFORM.
    Regards,
    Sree

  • SPD 2013 WorkFlow Status Column: Status Not Updated

    We are having an issue with the status display of the SPD Designer Workflow status column which is a read only column added by SharePoint to show the status of the workflow. We have some SharePoint 2013 Workflows built using SharePoint Designer that are
    attached to specific SharePoint Document Libraries. The expected behavior is for this column to show the workflow statuses (Not Started, Starting Workflow, In Progress and Completed. 
    Based on our observation this status is showing up although the column does get added for the Workflow that we have. Is there any other dependency for SPD Workflows that are attached to Document Libraries to show the status correctly? Any other settings/configurations
    to be made?
    Regards,
    Vikram
    Blog: http://dotnetupdate.blogspot.com |

    Hi Venkadesh,
    It is by design that 2013 workflow will show stage name in the workflow status column when
    Automatically update the workflow status to the current stage name is checked.
    And the workflow status column will be blank when Automatically update the workflow status to the current stage name is unchecked.
    For existing workflows, the workflow status will still exists with the previous values after unchecking Automatically update the workflow status to the current stage name.
    We can use Set Workflow Status action to update the workflow status value based on our needs.
    Best regards,
    Victoria
    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]

  • Workflow-status is waiting

    Hi ,
    I am working on SRM 5.5 , Extended classic scenario.
    I have implemented the badi BBP_WFL_APPROV_BADI for the workflow WS14000133.This is for a 3-step approval(shopping value limit ) whenever a shopping cart is created.
    However, whenever a shopping cart is created, the workflow status shown is WAITING. I dont think the workflow is even getting started.
    When i execute the workflow manually in transaction SWUS by giving the approvers list, the workflow is started properly.
    Could anybody tell me why this is happening ?
    Also , i have another requirement where i have to disable the approve and reject links in the offline approval mail sent to the approver. Can the BADI BBP_OFFLINE_APP_BADI be used for this purpose ?

    Hello,
    you say that the WF is WAITING whenever the SC is created.
    I think this is normal. A WF is initialized when you create a SC. But it is really launched when you "order" the SC.
    Are your SC ordered ? or only created/parked?
    About disabling the approve/reject link in the offline approval mail, there has been the same question asked few weeks ago. Solution was provided by Pierre:
    Approve by E-mail   Reject by E-mail  link need to be removed
    Rgds
    Christophe

  • Unable to book order in oracle quoting. : APP-236113: Order is not eligible for booking. Check workflow status of this order

    Dear All,
    I am trying to book an order from oracle quoting. I am getting the following error and unable to proceed.
    Please help me.
    APP-236113: Order is not eligible for booking. Check workflow status of this order.
    Thanks in advance.
    Regards,
    Gautam.

    Gautam,
    Check the profile option i.e. is to set the default order status while it is created from Quote.
    Regards,
    F. Afzal Hussain.

  • Workflow statuses of a purchase order

    Hi
    I'm looking to get the workflow statuses for some of the steps(Task items) for a purchase order...
    Basically I want to know how to get the data shown in SWI1 for a specific workitem in a report...?
    Can anyone help..
    Thanks
    Geetha

    Hi .
    check out the below link for workflow of purchase order.
    [http://help.sap.com/saphelp_srm30/helpdata/en/5a/c5173f5ff48443e10000000a114084/content.htm]
    Thanks
    Ankul

  • Unable to process leave request due to WORKFLOW Status in ERROR in ESS Portal.

    Dear Experts,
    I'm facing an issue with the leave request of an user. The user has applied leave a week ago but still it has not got auto approved.While analyzing the database of leave request in PTARQ, it has been found that the WORKFLOW STATUS is in ERROR and the DOCUMENT STATUS is in SENT condition.
    Kindly help me in this case.
    Please refer the screenshot below.
    Thanks & Regards,
    Surendhar

    Hi surendha,
    That particular leave request might have gone into error because of worklfow issue at the point of time.
    You can simply check with workflow if any issue with workflow was there in that tenure , leave request was being raised,
    Now solution is to delete the leave request from PTARQ which is in SENT status and workflow is errored out.
    Also take that work item id and get it deleted by workflow consultant (T code SWI5).
    Once that leave request/work item got deleted , ask user to again apply leave and it would go to manager for approval.
    Once leave request is approved, leave request would be in Posted status and will get updated in IT 2001.
    Hope it helps you,
    Thanks.
    Priya

Maybe you are looking for

  • What is the best printer for macbook pro

    The hp series is good, but 7510 goes only to 10.7. Any other printers as easy as hp for home printing, not office?

  • Apache proxypass and crossdomain.xml not working

    Hi everyone, I have the following problem. I have set up jboss on a Linux server connecting to local port 8080 (localhost:8080). I have opened the application on port 80 with Apache ( www.myDomain.com) and set up a virtual host that proxies this conn

  • I need to delete spotify account

    Did somebody I need to delete spotify account? I need some help!

  • Need Guidance for  EP Certification

    Hai,                  I wanted to write EP Developer Certification If Any body have the material, or any guide Documents please Send to this mail Id.([email protected])

  • Online Game Throtelling

     I recently purchased an Online Game (MMO) Final Fantasy XIV and it appears you guys are throttleing the connection at peak times making it impossible to play, this is not a P2P programme or anything like that.  Both BT and EE(Orange) seem to be thro