How to retrieve Task Activity

Hi
Is there a way to know which activity is associated with a task?
Regards,
Néstor Boscán

do u just want task list or items under task list for all subsites
for items use spsitedataquery ref
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
for tasklist only u can a simply use a for loop to find in all subsite
Manish Sati

Similar Messages

  • How to retrieve Task Lists from All Subsites to the Parent Site and display in Grid view using CAML Query

    How to retrieve Task Lists from All Subsites to the Parent Site and display in  Grid view using CAML Query + object model

    do u just want task list or items under task list for all subsites
    for items use spsitedataquery ref
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
    for tasklist only u can a simply use a for loop to find in all subsite
    Manish Sati

  • How to retrieve all the tasks for a UserView with the worklist api 10.1.3.1

    Hi,
    I have defined a custom view for user jcooper. The view just displays all the current uncompleted tasks for jcooper.
    I want to use the worklist api to retrieve all the tasks in the view. I first tried it with the following function call:
    taskQueryService.queryViewTasks(workflowContext,viewName, null, null, 0, 0);
    assuming that the viewId in the corresponding java-doc corresponds to the name of the view..However this doesn't work and the method returns a null reference. So viewId is something different than a viewName. Because I cannot find the corresponding viewId for my view (not looked in the db yet, but I don't want to use these ids in my app), I tried the method:
    client.getUserMetadataService().getUserTaskViewList(workflowContext, Partcipant participant);
    However I did not find a method to retrieve a Partipant instance for jcooper in the worklflow api documentation.
    My question now is if someone can help me out to retrieve all the tasks for a specific view. I should be possible I think...
    Thanks!
    Kind regards,
    -Tom

    The second argument (Participant) was added to handle the use case where one user such as an admin or manager needs to retrieve user metadata of another user (offcourse with the required security checks). We will try to do a future enhancement such that if the pariticipant is passed as null then we will assume the metadata is to be retrieved for the workflow context user.
    For now you can define a simple method to create a participant from a workflow context as follows and pass this as an argument to the UserMetadataService call:
    private Participant createParticipant(workflowContext)
    Participant participant = new oracle.bpel.services.workflow.common.model.ObjectFactory().createParticipant();
    participant.setName(workflowContext.getUser();
    participant.setRealm("jazn.com");
    participant.setType("USER");
    return participant;
    // code to retrieve task list...
    UserViewList views = client.getUserMetadataService().getUserTaskViewList(
    workflowContext, createParticipant(workflowContext))
    ...

  • My all voice memos are deleted,how to retrieve them

    my all voice memos are deleted after syncing it with itunes...how to retrieve them ??

    Thanks Bro. I have backup. and I did the same thing twice but only 26 contacts appear on the device. Now again yesterday after your suggestion again I restored the device but the result was same. Then I thought a new thing. I restored the device one more time but after restoring I didn't configure the icloud account. Surprisingly all my old contacts are there in the device but those 26 contacts are not there. Now I will tell you how this must have happened? I had 3gs earlier. that was stolen 3 months ago. I put the device in lost mode. I purchased new iphone4. I restored with itune. All my data came back. After that I saved these 26 new contacts to my device which also saved in icloud but when I tried to backup on my pc it was not happening. the messege coming device disconnected. 2 days back my stolen device came online. Lost mode was activated by icloud. But what I think in between that time the other fellow must have deleted the phone contacts. And as per icloud also deleted the same. Only the 26 contacts which I saved in these 3 months remained in icloud. Now bro can u help me out? What I should do? I have 26 contacts in icloud and < 500 in my device. I don't understand when all other Co's mobile you can import contacts from any backup file iphone can not. This is the DRAWBACK OF IPHONE.

  • T.code FF7A - How to retrieve items posted before linking the GL account to

    Hi Experts,
    While executing the T.code FF7A, postings that have been created before making the link between the GL account and the cash position grouping are not retrieved to the report.
    Does anyone know how to retrieve those past postings on FF7A report ?
    Many thanks for your help.

    There are a couple options depending on the additional details of your situation....
    Within t-code FDFD, there is a button labeled Data Setup.  This button is intended for use when cash management (CM) is activated for an existing company code and CM needs to be updated with transactions created prior to the activation.  It deletes all data in cash management for the Co.Cd. and then builds the CM data for all GL, customer and vendor accounts.  There are also options to update CM for other areas (Sales, Procurement, Treasury, etc.)
    Also within t-code FDFD, there is a button labeled Correct Data.  This button can be used instead of the Data Setup button, if the CM data for a particular area needs to be corrected.  This function has the following options:  All GL accounts, All GL accounts with open items, All GL accounts w/o open items (non-open item managed accounts), All Customers/Vendors, All Customers, All Vendors.
    It's best to run these functions when transactions are not being created on the system.
    Regards,
    Shannon

  • How to retrieve full flash solution from WSP if not than how to retrieve ascx files from Template folder in SharePoint 2013 ?

    How to retrieve ascx file from the Template folder in SharePoint2013
    My issue is, I have WSP only so I changed into zip and got my all web parts and also one dll file after that decrypted dll and got some C# code
    mixing with some system generated code but not ascx file that is for front-end part. So my question is how we can retrieve full flash solution if not, at least ascx files So if we were on SharePoint 2010 we could have got those file from __Template__
    folder but It’s on SharePoint 2013 and not able to get ascx.
    If we can do so, than will be easy to get the task to be done
    Suggestions would highly be appreciated. Thanks in Advance.
    Ashish

    Hi Amit,
    you can not move specific changes from Dev to production.
    but you can follow this process to make your workflow as it is as in Dev:
    Create a new workflow on the new list in Product.
    Create at least one step, one condition and one action in this workflow.
    1. In Dev server open your .xomal file as XML and copy the entire contents.
    2.In Production server Open your .xoml file as XML and Paste the entire contents
    3. repeat this operation for the xoml.rules file
    4.Double click the .xoml file for the new workflow to open the workflow in the Workflow Designer and click Check Workflow to verify no errors and then click Finish to ensure the workflow is saved.
    Whenever you need to make changes apply the same.
    Please Mark Answer and Vote me if it will to resolve your issue

  • How to retrieve updated payload information from completed HumanTask

    after initiating the HumanTask , updating the payload object from java client api
    payload information set into task object.
    taskService.updateTaskOutcome(workflowContext, task, outcome) ;
    after this call the HumanTask will be Completed.
    Now i tried to get the Payload which was updated in earlier step.
    Task task=taskQueryService.getTaskDetailsByNumber(workflowContext, taskNumber);
    XMLElement payload =(XMLElement)task.getPayloadAsElement();
    in the payload, it only contains payload which was at the time of humanTask initiation .
    Can any one help me, how to retrieve the payload information after completing the HumanTask ?
    Thanks in Advance

    I think the below code can be used to update the payload in the HumanTask
    IWorkflowServiceClient wfSvc=WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
              //instantiate the TaskQueryService Object
              ITaskQueryService taskQuerySvc=wfSvc.getTaskQueryService();
              //instantiate the TaskService Object. it has the UpdateOutcome method
              ITaskService taskSvc=wfSvc.getTaskService();
              final String password="jcooper";
              final int taskNumber=123;
              try {
                   //get WorkflowContext
                   IWorkflowContext context=taskQuerySvc.authenticate("jcooper",password.toCharArray(), "jazn");
                   Task task=taskQuerySvc.getTaskDetailsByNumber(context, taskNumber);
                   Element element=task.getPayloadAsElement();
                   Element payloadNew=element.getOwnerDocument().createElementNS("http://xmlns.oracle.com/bpel/workflow/task", "payload");
                   JAXBContext jaxbContext=JAXBContext.newInstance("object.path");
                   Marshaller marshaller=jaxbContext.createMarshaller();
                   //new Object() is your Object which you want to update in Process payload
                   marshaller.marshal(new Object(), payloadNew);
                   task.setPayloadAsElement(payloadNew);
                   //update task payload
                   taskSvc.updateTaskOutcome(context, task, "APPROVE");
              } catch (WorkflowException e) {
                   e.printStackTrace();
              } catch (JAXBException e) {
                   e.printStackTrace();
              } catch (StaleObjectException e) {
                   e.printStackTrace();
    Edited by: user12267906 on Nov 28, 2009 7:43 AM

  • How to trigger tasks which created during Event was inactive in WORKFLOW

    Hello Experts
    We  have a custom application with L+1 approval required for approval using workflow.
    There  was a publish for a nomination for team , Team has logged in registered for the published training.
    Unfortunately, all my team mebers 5 of 7 were already applied for nomination.
    The team was waiting for my approval, Finally we discovered - The tasks got deactivated;
    We discovered that The Triggering Events that  are deactivated
    Txn --> PFTC_DIS
    ...............Task Type : Selected ( Workflow Template)
    ...............Task : 9N000NNN  
    ...............Click : Display
    ...............Click : TAB : Triggering Events
    ..........................Found here ...The Tasks are deactivated ....................
    To activate "deactivated Events
    Txn --> SE37
    .................Function Module : SWE_EVENT_REC_TYPE_ENABLE
    ................Hit : Execute
    Filled in Screen   ;  CLINET : NNN
                                   OBHTYPE : ABCD ( What i have seen in Triggering Events Tab)
                                   RECTYPE : WS9N000NNN  
                                   EVENT : EVENTNAME ( What i have seen in Triggering Events Tab)
    ................Hit : Execute
    Once i do & if i check again in PFTC_DIS it is showing green & Event got activated
    after event is active
    The other 2 Members later raised & had come approval.
    ...as it is custom application we are storing who registered for it.
    Now I see the other 5 members entries in my table
    How can create Tasks to flow these workflow task for my approval which were created during event was inactive
    may slightly confusing, I am also early bird on WORKFLOW.
    if any one give a clue will be greatful
    Rgds
    PR

    Hello Srinivas !
             You've stated as follows :
    How can create Tasks to flow these workflow task for my approval which were created during event was inactive.
    Hope you wanted to state that users have registered nomination when the event was inactive( and thus workflow didn't get triggered) and now you want those nominations should be routed via workflow.
    The solution is to use SWUE transaction and re-create the event.In doing so, please be noted that the time at when nomination was registered(when the event was inactive) and time at when workflow triggered from SWUE would be too different.So, discuss with your team before doing so.
    Regards,
    S.Suresh.

  • How to retrieve the Foreign key information in Oracle

    I want to know how to retrieve the Foreign Key information in Oracle while using SQL Statement?
    I have use three SQL statement to retrieve such information, but the performance is very bad.
    The three SQL Statements are:
    Select constraint_name, r_constraint_name from all_constraints where constraint_type = 'R' and table_name = table1;
    Select column_name from all_cons_columns where constraint_name = cons1;
    Select table_name, column_name from all_cons_columns where constraint_name = r_ccons1;
    Do anyone know another method to retrieve the Foreign Key information which has better performance?

    These sql-statements don't seem very performance intensive. My guess is something is wrong with your database (unless you have millions of constraints). How many constraints do you have? how many concurrent users? What is your dictionary cach hitratio? (other hitratio?) memory problems? other tasks of the computer? is this query the only one being slow? etc.

  • How to get only Active employees in Org Chart (ESS ? Emp search OrgChart)

    Hello gurus,
    The setting for the Who's Who service in ESS is set to retrieve only
    active employees.  The value in T77S0, group: ESS, Sem. ABrr is STAT2
    and the value is 3.  However, after searching, the Org Unit is a link
    that you can click and it will take you to that Org Unit and display
    the people that are in that Org Unit.  However, this display will show
    people that have a status of inactive. 
    Q:How to set the system to show only active employees.
    ERP2004 -ESS
    Thanks in advance, Abdul

    abdul can you pl goto IT 0 and check the help on stat2 filed and find what doesn't the value 3 means.
    pl reply with the same.

  • 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(this.onTaskChangedSupervisorAction_AfterProperties.ExtendedProperties["Workflowstatus"].ToString().Contains("Approved"))
    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"
    MCTS,ITIL

    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
    Amit

  • How to retrieve the result parameter ?

    Hello every body.
    We have selected the result parameter checkbox in a method created in a ZXXX bussiness object. We need to know how to retrieve this result from the task.
    Thank you in advance.
    Juan.

    Hi Juan,
    You can retrieve the result parameter from the method defining the Task.
    Just double click on the task number and you will be taken to the "Standard Task: Change" screen.
    Here Look out for a Small binding symbol in the Object Method cluster.
    Click on the binding symbol and do the necessary binding to get the result from the method to the Task containers.
    And subsequently, u can do the binding betweent the task containers and the workflow containers.
    Hope this helps.
    Regards,
    Raj

  • My iPad mini was stolen, need help in how to retrieve it bak

    kindly somebody help me how 2 retrieve back my stolen iPad

    What To Do If Your Mac Is Lost Or Stolen
    If you activated Find My Mac before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi. What you cannot do is track your computer using a serial number or other identifying number. You cannot expect Apple or anyone else to find your computer for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty. Be sure to report the loss or theft to the local police. Have the serial number handy. If your Mac is found it cannot be returned to you if you don’t have the serial number and proof of purchase.
    Find My Mac can be used from Find My Phone at iCloud.com and via Find My Phone on your iDevice.
          The following is third-party anti-theft software:
               1.  STEM 2.1
               2.  MacPhoneHome 3.5
               3.  MacTrack 7.5.0
               4.  VUWER 1.7
               5.  Sneaky Bastar* 0.2.0
               6.  Undercover 5.1.1
               7.  LoJack for Laptops
               8. Hidden 2.0
               9. Prey 0.6.2

  • How to attach a drawing and how to retrieve it

    Hi Friends,
                       I want to attach my drawings and doc's associated with that material in Material Master. please can any body explain the procedure how to attach the document and how to retrieve it. and also how to control the unauthorised access? thanx in advance full marks will be awarded.
    Edited by: sridhar kalepu on Mar 26, 2008 10:49 PM

    Hello Shridhar,
    You can do it by crating a material master. Then go to the additional data-->document data.
    Specify your document type , where you have attched your drawing.
    In this way you can attach your drawing to the particular matrial and it data.
    To avoid unauthorized access:
    Goto pfcg , create role and profile.
    use follwoing  auhtorisation object and restrict the user.
    Authorization Object C_DRAD_OBJ (Object Link)
    The following table shows authorization object C_DRAD_OBJ. This object controls which users can process which document info records, based on a combination of activity, object, and status.
    Fields     Possible Values     Description
    ACTVT
    (Activity)    01                     Create
                    02                     Change
                    03                      Display
                    06                    Delete
    DOKOB    You must enter the data base table for the objects here (for example, MARA for material record).
    STATUS
    (Document status)
    Regards,
    Nitin
    Reward points if useful.
    Edited by: nitin bhagat on Mar 27, 2008 6:21 AM

  • Is it possible to put 'Task' activity onto a calendar?

    We are using the 'task' activity and would like to have a calendar that shows those tasks according to the 'due date' of the tasks and make the calendar visible to everyone in the organization. Is this possible, if yes, can you provide some detail on how to get that done?

    At this time it is not possible to show tasks by due date on the calendar. However, you could create a task list of all open tasks that are due today.

Maybe you are looking for

  • Third party purchase issue

    Hi , i have one strange issue. One of user has done GR for a Third party PO .     While Doing GR, system did not ask for Batch number even though material is batch managed .. now he wants to create Outbound delivery for goods issue but not able to do

  • Pairing iphone after updating to ios 8.0

    I updated my iphone to version 8.0 and now it will not pair with my Mazda 3.  It sounds like this is an issue with a lot of different car manufacturers.  Help! Anyone?

  • Partitioning harddrive with time machine?

    I've just purchased a macbook along with a 500 gb hard drive to accompany it and to store my loads and loads of music files that would otherwise clog the space on my computer. I've come to the realization though that I would like to use time machine

  • Applets did work xith 1.3.1 and do not anymore with 1.4.1 ??

    Hi, I had some cool applets that worked perfectly with the sdk 1.3.1_07 and since I upgraded my computer to 1.4.1_01, they don't work (either in IE or Netscape !!). The example is here: http://www.apycom.com/apmenu/apxpdd/ex8.html I hope you can help

  • How can I get search to work again in Bridge?

    Stopped working for me about a week ago, just brings up nothing even though I KNOW the file is there. I'm on a Mac using Bridge CC with the latest update.