How to update task status from custom task in state machine workflow

i m using custom task for state machine workflow
i am using
if above is true moving forward its working fine but i want to update the status field of task as i can update the title and due date for the task but how can i change the status once approved it
should show the status as approved it's only showing in progress
this.CreateTaskSupervisorAction_TaskProperties.Title="supervisor task"

If your task shows In Progress state then I think you need to look at your workflow and make sure you are using Complete Task activity and if you are already using Complete Task Activity then verify the Correlation ID. Ideally you are not required to set
this value in workflow. You simply use the Complete Task Activity.
If you are running into issue where your workflow is staying in In Progress state even after the task is complete then you can look at the following blog post.
How to programmatically complete Approval workflow task

Similar Messages

  • Stat machine workflow task workflow status different values on different state activity(Approval level)

    i have developed the State machine workflow in which i am using default workflow task
    i have added one status dropdown and that is having approve or reject that i set using workflow task drop down values
    now my requirement is that when my workflow goes to different approval i need to have different status values in dropdown
    for example
    on manager approval state activity i need to add additional status value forward to legal
    but when it moved to next activity this task status field should show only approve and reject
    in summary i need to have different status values for workflow task when it moved to different state activity(approval levels)
    can we set these status field of task for state machine workflow programtically as well like for different approval level of task i need different status to be set for the dropdown of task status field

    Hi Shahid Siddique,
    I have seen a similar thread from you about this issue, create custom form for the seperate form is a considerable workaround, you can have a check whether it works.
    Qiao Wei
    TechNet Community Support

  • Create Multiple tasks for Single Item in List using state machine workflow in sharepoint

    I want to create multiple create tasks for Single Item in List based on Assigned to column using state machine Workflow through visual studio
    Here Assigned to column allows multiple users. so i have to create task for every user based on column .
    I'm trying for this but i didn't got any solution
    Please provide solution for this.

    According to your post, my understanding is that you wanted to allow multiple users to approve.
    There are some articles about creating parallel tasks in state machine workflow, you can have a look at them.
    Thanks & Regards,
    Jason Guo
    TechNet Community Support

  • How to REpublish Custom Task Forms (InfoPath) to SharePoint 2010 State Machine Workflows

    I am new to SharePoint. Sorry if answer to my question is obvious.
    I've create Custom Task Form in InfoPath and publish it (File/Publish/Network Location [Form Template Path and filename='MYPROJECT/Forms/ApprovalForm.xsn'; Form template name='ApprovalForm'], in the next window I've cleared Public URL according to the article
    After it I've added module Forms, and added ApprovalForm.xsn from the existing items.
    My xml files: Elements.xml
    <Elements xmlns="">
    Name="Order New Server"
    Description="My SharePoint Workflow"
    <?xml version="1.0" encoding="utf-8" ?>
    <Feature xmlns="" ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Receiverlass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver">
    <Property Key="GloballyAvailable" Value="true" />
    <Property Key="RegisterForms" Value="Forms\*.xsn"/>
    My form work fine, but when I make changes and republish it, it doesn't update (I see old form). What I tryed:
    Clear all cookies and cache in IE
    Retract solution, restart VS2010, reboot computer.
    Change assembly number, guid.
    I have no ideas, what can I try for republish my form with changes.
    Thank you in advance for any suggestions.
    PS: sorry for my writing. English is not my native language.
    PPS: when I save new Form to new location and add it to the project, it works.

    I've found how can I republish changes. But it seems more like crutch than solution, but it works:
    After republishing InfoPath form, I delete file from project (DEL on ApprovalForm.xsn in Solution explorer) and after it add it again. (Add/Existing Item). And then redeploy! Hurray!
    Is there any way to redeploy a Task Form directly on the server without importing it in Visual Studio again? I am using some data connections in my task form which are different for different environments (staging, dev. etc.). Seems like I've to create a separate
    Workflow WSP file for each envrionment. Any comments?

  • BDOC Error : "BDoc stored before update task (intermediate state)"

    Hi Experts,
    I have stuck BDOCs under BDOC type "BUS_TRANS_MSG" and the error msg as "BDoc stored before update task (intermediate state)". The error occurs when BDoc Message was not written to qRFC queue. I checked the update tasks in transaction
    SM13 and could find the entries there. I opened one of the entry and was able to spot the error in one of the function module.
    The error was encountered at some later point in time and is been fixed. I now want to re-send the update so that the new update is written and the BDOCs are processed.
    Kindly guide me through the steps that need to be performed in order to re-process the BDOCS.

    BDocs were stuck at time when we really had a problem; now the problem is re-solved. I have checked SM13 we have entries highlighting the problem, but i really don't know how to re-update the error entries in SM13.
    I believe once that is done then i might possibly be able to re-process the BDOCs in SMW01.

  • How to update duplicate row from table

    how to update duplicate row from table?
    First to find duplicate row then update duplicate row with no to that duplicate row in oracle.
    can you give me suggestion on it?
    Thanks in advance.
    your early response is appreciated...

    In order to find a duplicate row, see:
    (or search this forum, your question has been asked before)
    In order to update it, just create and use an Oracle sequence, have it start and increment at a value that doesn't exist in your table.
    If that doesn't get you going, post some CREATE TABLE + INSERT INTO statements, and the results you want from them, in other words: a complete testcase.

  • How to update the status of Outbound IDOC in case of error

    I want to know about how to update the status of Outbound IDOC in case of error.
    I am using message control functionality here.

    If u r using the standard message and basic type
    u can do it in the FM attached to the basic and message type.There u need to write ur own message instead of standard SAP message..chek if there r any userexits available in the FM..where u can overwrite ur own message ..
    If u r using the Zmessage and Zbasic type
    then u need to declare an internal table of EDIDS structure and then append ur message to the internal table..
    idoc_status-docnum   = idoc_contrl-docnum.
      idoc_status-msgty    = <message type>
      idoc_status-msgid    = message-id.
      idoc_status-msgno    = message-number.
      idoc_status-msgv1    = message-message_v1.
      idoc_status-repid    = sy-repid.
      idoc_status-status   = <give the error status>.
      APPEND idoc_status.
    Reward if u find useful

  • HT1338 i have imac 8,1 how i update my software from 10.5.8 to 10.6.8

    i have imac 8,1 how i update my software from 10.5.8 to 10.6.8

    Call 1-800-MY-APPLE (or your county's support number).  Apple is selling single user disks for $19 or 5-user family disks for $29.   If you think you will another copy of SL in the future, buy the $29 family pack before Amazon at $100+ becomes your only source.

  • Monioring - How to remove deployment status from monitoring

    How to remove deployment status from monitoring in SCCM 2012
    Thanks in advance

    You can also install this right click tool to be able to delete the deployment direct from the monitoring node.
    Cheers Paul |

  • How to update Ipad 2 from IOS 4.3.5 to IOS 5. Itunes won't let me do it because it keeps showing error messages asking me to check if my network is active.

    how to update Ipad 2 from IOS 4.3.5 to IOS 5? Itunes won't let me do it because it keeps showing error messages asking me to check if my network is active.

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 7.1.2. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    You can no longer update to iOS 6.x, or down grade the iOS.
    iOS 5: Updating your device to iOS 5 or Later
    How to install iOS 6
    iOS: How to update your iPhone, iPad, or iPod touch
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and antivirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 7.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
    How to Upgrade to iOS 7
    The iOS 7.0 update requires around 2.5 GB of storage space, so if your iPad is almost full, you may need to clear up some space. You can check your available space in Settings -> General -> Usage.
    There are two ways to upgrade to iOS 7: You can use your Wi-Fi connection, or you can connect your iPad to your PC and update through iTunes. We'll go over each method.
    To upgrade using Wi-Fi:
    Note: If your iPad's battery is under 50%, you will want to plug it into your charger while performing the update.
    Go into the iPad's Settings.
    Locate and tap "General" from the menu on the left.
    The second option from the top is "Software Update". Tap this to move into the update settings.
    Tap "Download and Install". This will start the upgrade, which will take several minutes and will reboot your iPad during the process. If the Download and Install button is grayed out, trying clearing up some space. The space required by the update is mostly temporary, so you should gain most of it back after iOS 7 is installed.
    Once the update is installed, you may have to run through the initial steps of setting up your iPad again. This is to account for new features and settings.
    To upgrade using iTunes:
    First, connect your iPad to your PC or Mac using the cable provided when you purchased your device. This will allow iTunes to communicate with your iPad.
    You will also need the latest version of iTunes. Don't worry, you will be prompted to download the latest version when you launch iTunes. Once it installs, you may be asked to setup iCloud by logging into your iTunes account. If you have a Mac, you may be prompted on whether or not you want to enable the Find my Mac feature.
    Now you are ready to begin the process:
    If you upgraded iTunes earlier, go ahead and launch it. (For many, it will launch automatically when you plug in your iPad.)
    Once iTunes is launched, it should automatically detect that a new version of the operating system exists and prompt you to upgrade to it. Choose Cancel. Before updating, you will want to manually sync your iPad to make sure everything is up to date.
    After canceling the dialog box, iTunes should automatically sync with your iPad.
    If iTunes doesn't automatically sync, you can manually do it by selecting your iPad within iTunes, clicking on the File menu and choosing Sync iPad from the list.
    After your iPad has been synced to iTunes, select your iPad within iTunes. You can find it on the left side menu under Devices.
    From the iPad screen, click on the Update button.
    After verifying that you want to update your iPad, the process will begin. It takes a few minutes to update the operating system during which time your iPad may reboot a few times.
    After updating, you may be asked a few questions when your device finally boots back up. This is to account for new settings and features.
     Cheers, Tom

  • How to check system status from Windows command line?

    Does anyone has an idea how to check system status from Windows command line? In UNIX we use startsap check, unfortunately I didn't find an appropriate command provided by SAP.
    The only idea we have is to use
    tasklist /FI "Username eq SAPService<SID>" | find "disp+work"
    which isn't as nice as startsap check.

    In windows you can use the command
    go to profile directory in command prompt and the give the following command to check the status of the instance.
    sapstart check pf=START_DVEBMGS<nr>_<hostname>
    that means you need to mention start profile or instance profile. So that it will say whether the instance is running or not.
    If you want any other information please reply back to me.

  • How to update iphone 4 from 4.3.1 to ios 6, How to update iphone 4 from 4.3.1 to ios 6

    How to update iphone 4 from 4.3.1 to ios 6, How to update iphone 4 from 4.3.1 to ios 6

    Plug it into your computer running iTunes and click the check for updates button if you're not prompted to update it automatically.
    You must be running iTunes 10.7 on your computer.

  • How to update info cube from PSA

    how to update Info cube from PSA.
    Coz we have changed the update rule for one characteristic.What is the implication of updating it from the PSA.

    Now there is one more problem in update rule.
    We are using " 2LIS_03_BF " as datasource.which doesn't contain Sales organization,Division or Distribution channel.
    So in transfer rule for the infosource "2AF_MM_INV_1" we can not update the salesorg,division and Distribution channel.In communication structure all these objects are assigned to respective info objects.
    Now in Update rule we have kept Division and Sales organization as initial.Still we are getting correct data for the Division and not a single record contains Sales organisation and for distribution channel we are using update routine..
    Now my problem is this update rule fatches record on the basis of cust_sales only as comm_structure doesn't contain any thing for division and sales org.So how to get value for sales org and Division in Communication structure.
    Summary, I want to get data for Distribution channel and sales org in my cube.
    Pls help me out...
    This is very urgent..

  • Hi, how to update my downloads from 128 to 256 kbits ?

    Hi, how to update my downloads from 128 to 256 kbits ?

    Al Tuco,
    You can do it with iTunes Match.
    See this document:  iTunes Store: iTunes Plus Frequently Asked Questions (FAQ)  and read the section on "Can I upgrade my previously purchased music to iTunes Plus?"

  • How do i retrieve photos from iphoto on a time machine backup?

    how do i retrieve photos from iphoto on a time machine backup?

    To restore the entire library do the following:
    For a single photo you need to  know the file name?  If so you can extract photos one at a time out of the TM backups for import into iPhoto.  You would do it as follows:
    1 - download and launch  Find Any File.
    2 - select the Time Machine external hard drive.
    3 - enter the file name and search. It will take longer than a normal search due to the nature of the Time Machine structure, maybe up to 1 miinute.
    4 - select the file that is in the Masters or Originals folder in the search results window and drag to the Desktop where it can be imported into iPhoto:

Maybe you are looking for

  • HT201250 How can I use Time Machine to reinstall Itunes 10.7? Itunes 11 is just horrible.

    Itunes 11 was installed by accident. I hated it instantly and after two hours with it, hated it even more. I removed it but didn't know that this terrible software is a virus. It infects dozens of files in the OS and you can not go back to an earlier

  • Can no longer access Accounts preference pane !

    At home I work on an iMac. I'm the admin, each of my children have their own user account. While I was working in 'System Preferences > Accounts' to adjust some of the permissions on one of the accounts the power went down. Once the power was back on

  • PS Touch open PSD

    Hi, can I open psd from my MAC PS in PS touch with unmerged layers. I have also opened psd, but only with merged layers. Thank you...

  • Installing from business content

    hi I am installing 0SD_C03 from the business content. In grouping i selected "In flow before". After selecting and transferring the cube. In hiererchy format it displayed infoarea infoobjects update rules. Under infoobjects for some of the infoobject

  • Load two input file into One Target table through SQL LOADER

    Hi Expert, I have 2 .cvs files. 1st file having cols as account_no & first name 2nd file having cols as account_no & last name There is a table called temp has 3 cols accounts_number first name & last name accounts number in both files are same Now I