Adding assignee to task

Hi all
I am creating a worklist app using WLI 8.1. I assign a task to a user. Now on timeout of this task I want add the user's supervisor to the list of task assignee..any clue how I can do that.
I tried using TaskUpdateXMLDoc and adding an assignee. I am able to c the TaskUpdateXML in the console but the task assignee does not change.
The code i am using is
taskUpdateXMLDoc = TaskUpdateXMLDocument.Factory.newInstance();
TaskUpdateXML taskUpdateXML = taskUpdateXMLDoc.addNewTaskUpdateXML();
AssigneeType assignees = taskUpdateXML.addNewAssignee();
assignees.addUser(SUPERVISOR_USERID);
Please help
Thanks
Inder
this but

Hi,
Not aware of the functionality of  TR_APPEND_TO_COMM_OBJS_KEYS  FM.But,if you want to add the table entries to a TR manually then
1.double click the TASK of the TR
2.Select the OBJECTS Tab
3.Enter R3TR as Prog ID, TABU as Object type and ztable name as Object Name
4.Press Enter
5.You will get to see an iconwith KEY in FUNCTION
6.Click on the KEY Icon,it will show a table control named "Table keys"
7.Here you enter the primary key VALUES of the records (in the ztable) that you want to transport.
8.Save it
9.Select this record and clikc on table contents icon.
10.will get a pop up with 3 options 1.Entire table 2.Table Contents specified  by request 3.Table Contents specified by current key and click tick mark.Now the records that got added to the TR will  be displayed.
Thanks,
K.Kiran.

Similar Messages

  • What is Best Practice for Adding Thousands of Tasks to CloudJob?

    I am looking for some guidance on adding lots of tasks to a CloudJob.
    I have thousands of tasks to add to a job, and several parent tasks running across multiple TVMs are participating in adding the new tasks to the job. However, I can reproduce my problem with a single task that tries to add new tasks to the job with
    a max degree of parallelism of 15.
    In each thread, I call IBatchClient.OpenWorkItemManager, then IWorkItemManager.GetJobAsync, then ICloudJob.AddTaskAsync, followed by ICloudJob.CommitAsync in order to add a new task. I will occasionally get a "Server encountered an internal error. Please
    try again after some time." exception. After I delay, and then retry the entire series of operations again (from OpenWorkItemManager all the way to ICloudJob.CommitAsync), I receive the "A task instance can only be added to a single job." exception.
    Since I am receiving these exceptions frequently, I am hoping that there is a better way to add a lot of tasks to the job. I see a way to add multiple tasks to a work item, but I don't know what the tasks will be ahead of time. I have to wait until I am
    well into processing the job before I know what new tasks need to be added to the job.

    Am I correct in assuming you're doing something like this?
    Parallel.For(0, 100, new ParallelOptions() { MaxDegreeOfParallelism = 15}, async (idx) =>
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    ICloudJob job = await manager.GetJobAsync("wiName", "jobName");
    await job.AddTaskAsync(new CloudTask("foo", "cmdline"));
    You are doing some extra exception handling and stuff too as well I assume.
    There are a few improvements you can/should make that ought to make your life easier.
    First, the GetJobAsync() call actually does a round trip to the server -- you can avoid doing this for every task you add and reduce your round trips by half:
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    ICloudJob job = manager.GetJob("wiName", "jobName");
    //Foo("Test", "Abc", "test");
    Parallel.For(0, 100, new ParallelOptions() { MaxDegreeOfParallelism = 15}, async (idx) =>
    await job.AddTaskAsync(new CloudTask("foo", "cmdline"));
    Even more than that, we provide a helper method which has this functionality and performs bulk adds behind the scenes, which will reduce your round trips by about a factor of 50-100.
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    List<ICloudTask> tasksToAdd = new List<ICloudTask>(); //Popualte this with your tasks
    await manager.AddTaskAsync("wiName", "jobName", tasksToAdd, new BatchClientParallelOptions() { MaxDegreeOfParallelism = 15 });
    Additionally, we have a way where you can configure a "retry policy" without having to manually do it yourself on every call.  It's pretty handy, you can set it on the BatchClient itself, or on an individual call, below you can see I set it
    on both (just to show you - in a real application usually you would just set it on the batchClient and be done with it -- it would then apply to all operations done by the batch client):
    IBatchClient batchClient = BatchClient.Connect("", new BatchCredentials());
    IRetryPolicy retryPolicy = new LinearRetry(TimeSpan.FromSeconds(5), 6);
    batchClient.CustomBehaviors.Add(new SetRetryPolicy(retryPolicy));
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    List<ICloudTask> tasksToAdd = new List<ICloudTask>(); //Popualte this with your tasks
    await manager.AddTaskAsync(
    "wiName",
    "jobName",
    tasksToAdd,
    new BatchClientParallelOptions() { MaxDegreeOfParallelism = 15 },
    additionalBehaviors: new List<BatchClientBehavior>() { new SetRetryPolicy(retryPolicy) });
    Also a clarification -- you cannot ever add tasks to a work item.  The method for add tasks happens to live on the "WorkItemManager" which a bit confusingly also manages job related stuff as well (since job is a child of work item). 
    Whenever you are adding tasks, you are always adding tasks to a job, so the "workItemManager" methods related to adding tasks all take job name as a parameter.
    Another issue you may be hitting has to do with .NETs service point manager... see:
    https://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.defaultconnectionlimit%28v=vs.110%29.aspx
    You may want to set this property to be something larger than the default of 2.
    Now, it's possible after making the changes I suggested you still experience some issues -- give these changes a try and if you're still having issues come back and let us know what they are and we can help you improve the submission code further.
    You can also see the sample code for TextSearch which demonstates this in the JobManager task.
    https://code.msdn.microsoft.com/windowsazure/Azure-Batch-Sample-Text-87d08017/sourcecode?fileId=129811&pathId=1120079659
    Hope that helps,
    -Matt

  • Problems creating an SSIS package: adding a script task causes data at root level is invalid error

    I am trying to create my first SSIS package using SQL 2012 Server Data Tools which will invoke a script task.  I added the script task, put in the code, and when I try to test out the package, I get a "data at the root level is invalid" error
    message.  I tried creating a new project from scratch, did a build and run w/in the IDE (with no code behind), worked ok.  Added the script task (with no code behind), and I get the same error.
    Can someone please point me in the right direction? 

    Are you sure it is not XML?
    How would I repro the issue?
    Please share all the steps, but I think the code has an issue.
    Arthur My Blog

  • Doco/functionality mismatch: Adding a Bounded Task Flow to a Page

    Hi JDev team
    With JDev 11g TP4 and the latest published ADF Guide in hand, under section 14.3 "Adding a Bounded Task Flow to a Page", subsection "To add a bounded task flow containing pages to a JSF page:" it notes that when you drag n drop a bounded task flow from the App Navigator into a JSF page you get the choice of creating a button or link. I don't get this option, instead I can create a region or a dynamic region in the drag n drop submenu.
    Cheers,
    CM.

    Chris,
    note that it says "containing pages", not "containing page fragments". If your taskflow contains page fragments "jsff" then the choice is a region, if it is pages (jspx) then the choice is button or link to launch the taskflow.
    Let me know if this still doesn't work for you
    Frank

  • Checklist -can a link be added to the task?

    Checklist -can a link be added to the task?
    Question is we have a list created but need to link back to a service or more detailed instruction - can this be done in the checklist item?

    Hello,
    It  looks like you can include HTML in the text of the checklist item.   Simply add the HTML as you would for a standard link.
    <a  href="URL">Click Here</a> for more information on  how to complete your task.
    Cheers!
    PS: I haven't used this  myself (we're on v2004), so I hope it works for you!

  • Adding Saved Searches task flow to a Page Template

    I am trying to add the Spaces "Saved Searches" task flow to my custom page template. I have tried a few different approaches and none seem to be working.
    First, I tried simply dragging and dropping the task flow from JDeveloper's Resource Palette into my template. JDeveloper created added the following to my template source code:
    +<af:region value="#{bindings.allsavedsearches1.regionModel}" id="pt_r1"/>+
    After uploading the changes to Spaces, there seemed to be no change to the rendered template.
    Second, I tried to simply add the task flow to a page in my test space via composer. However, as soon as I click the "Add" button next to the Saved Searches task flow, the page goes blank (white screen of death) and the following message shows up in the spaces error logs:
    javax.servlet.ServletException: com.sun.el.parser.ParseException: Encountered "\'" at line 1, column 65.
    Finally, I looked at how the out of the box templates implement the saved searches functionality. It appears that the saved searches use a custom folder in the Default Navigation Model. I looked at the source in the Default Navigation Model and found the following node:
    +<customFolder factoryClass="oracle.webcenter.search.view.rc.SearchServiceContextFactory" id="savedSearchesFolder" visible="true">+
    +<attributes resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle">+
    +<attribute attributeId="Description" isKey="true" resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle" value="NAV_APPLICATIONS_CUST_FOLDER_SEARCHES.DESCRIPTION"/>+
    +<attribute attributeId="IconURI" value="/adf/webcenter/foldersavedsearches_qualifier.png"/>+
    +<attribute attributeId="Title" isKey="true" resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle" value="NAV_APPLICATIONS_CUST_FOLDER_SEARCHES.TITLE"/>+
    +<attribute attributeId="WEBCENTER_SERVICE_ID" value="oracle.webcenter.search"/>+
    +</attributes>+
    +</customFolder>+
    I copied the entire node and put it in my navigation model. Upon rendering the template, I can see the new node in the navigation but when I click on it, nothing happens.
    Can someone please tell me if I am on the right track with any of these three approaches? Or where to look to diagnose the issues I am running into?
    Thanks,
    Joe

    UPDATE: I updated the "activation" property in the page def for the allsavedsearches task flow to be "deferred". Now I am getting an ADF popup menu with two menu items: "My Searches" and "Other Members" but clicking on the items does not trigger anything...
    Any thoughts? What additional information would be helpful for analyzing this issue?

  • Adding to a task list - User does not exist or is not unique

    We have SharePoint 2010 with a single web server front end and another server as the SQL server.  When trying to add a task to a list or an announcement to a page, users are getting the error, "The user does not exist or is not unique."
    I have searched diligently for an answer, but cannot find anything about this with regards to users getting the error. 
    Thank you in advance for your assistance.

    hello,
    i have faced your problem few minutes ago. when i was trying to solve another problem
    --->> (Object Cache: The super user account utilized by the cache is not configured) --> my current problem
    i have found at search results the below PS command to configure super user and super reader.
    $w = Get-SPWebApplication http://webapplicationlink
    $w.Properties["portalsuperuseraccount"] = "domain account"
    $w.Properties["portalsuperreaderaccount"] = "domain account"
    $w.Update()
    but it caused me another problem which you are facing right now.
    ---> ( Error:  The user does not exist or is not unique)
    while adding any item to any list specially lists
    then i have tried to rollback by doing the below PS command and it worked and solved it.
    $w = Get-SPWebApplication http://webapplicationlink
    $w.Properties["portalsuperuseraccount"] = ""
    $w.Properties["portalsuperreaderaccount"] = ""
    $w.Update()
    after that check for the super user and super reader by
    Get-SPWebApplication | %{Write-Host "Web Application: " $_.url "`nSuper user: " $_.properties["portalsuperuseraccount"] "`nSuper reader: " $_.properties["portalsuperreaderaccount"] "`n"}
    This is the output for the above command should be like this.
    Web Application:  http://webapplicationlink
    Super user:
    Super reader:
    hope that it helps :)
    Karim El Zarka,Senior IT Specialist Commercial International Bank, MCTS Sharepoint

  • Adding URL to Task in Visual Studio / C# SharePoint Workflow 2010

    I have a custom SharePoint Workflow (2010) using Visual Studio.
    During my task creation, I am populating my task using the .ExtendedProperties.  I get how to do it with strings, numbers and boolean.
    Now I want to add a URL (link) to the task.  I have the URL type defined for one of the fields of the task, but I'm not sure how I would format the values to pass in.
    MyworkflowTask.Item.ExtendedProperties["OriginalItem"]=??
    Since I need to pass in both the URL and description, not sure how to format this.
    Thanks

    You can use the SPFieldUrlValue class.
    SPFieldUrlValue value = new SPFieldUrlValue();
    value.Url = "http://www.certdev.com";
    value.Description = "very cool";
    MyworkflowTask.Item.ExtendedProperties["OriginalItem"] = value;
    Blog | SharePoint Field Notes Dev Tool |
    ClassMaster

  • Need to send e mail to Task assignee when task is released in QN

    Dear All,
    Is there is anyway I can sent e mail to user when task assigned to him and released in QN? I checked SWNCONFIG, but I do not know how to use it.
    Thanks for your help in advance
    Bhavesh Patel

    Use follow up action for the task - if no workflow is activated. Like UD follow up actions, you can trigger a follow up action for the quality notification tasks.
    In spro - go to additional notification funtions - define follow up action for tasks  - here define a follow up action and mark is as task for the notification.
    Copy the reference FM in function group QM10 - ( create a Z function gropu copying the same - QM10) and work with your developer to develop the FM to send an email to the person assigned to the task. Assign the same FM to defined follow up actions.
    Assign the follow up action to the task - in QS41.
    Hope it helps.
    Thanks,
    Ram

  • Adding attachments to task

    Hi, í´ve develop a solution to allow .NET applications to communicate with Oracle Workflow beacuse the Worklistmanager doesn´t work for me. So I´ve embed Java code in a java web service that manages all the api of the workflow. I have a method that allows to update the task state. And I´ve been improving it, so i decided to include a parameter that is a byte array that corresponds to a file for attach it to the task.
    The code looks like this...
    private Task addAttachmentToTask(IWorkflowContext oWorkflowContext,
    ITaskService oTaskService, String taskId,
    byte[] content) {
    try {
    AttachmentTypeImpl attachment;
    ByteArrayInputStream attachedContent;
    Task oTask;
    attachment = new AttachmentTypeImpl();
    attachedContent = new ByteArrayInputStream(content);
    attachment.setInputStream(attachedContent);
    attachment.setTaskId(taskId);
    attachment.setMimeType("application/octet-stream");
    oTask = oTaskService.addAttachment(oWorkflowContext, taskId,
    attachment);
    return oTask;
    } catch (StaleObjectException e) {
    this.LogText(e.toString());
    return null;
    } catch (WorkflowException e) {
    this.LogText(e.toString());
    return null;
    the code is resulting in a nullpointer exception just in the line when I call the service of the workflow..
    is there any documentation? Please help!

    Hi, Jasmin
    How to add a external file(.doc or .xls)as a attachement to a xfa form variable in process?
    I've tried using the DDX and Assembler service.
    When I set the input and output variable as document, the process works.
    But when I set them as xfa form or document form, the process will fail by exception.
    The Assembler service seems to accept the document type variable only.
    the exception is :
    Failure to invoke the job Assembler
    Failure to invoke the job Assembler
    Cannot coerce object: <document state="passive" senderVersion="0" persistent="false" senderPersistent="false" passivated="true" senderPassivated="false" deserialized="false" senderHostId="null" callbackId="0" senderCallbackId="0" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="0" contentType="application/pdf" length="-1"><cacheId/><localBackendId><DocumentFileID fileName="C:\Documents and Settings\Administrator\Local Settings\Temp\AdobeDocumentStorage\local\docm1205306662328\b152e2c400d064ec2e16c01b547d25 d1"/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGlobalBackendId/><in line/><senderPullServantJndiName/><attributes file="C:\Adobe watch folder\Assembler\stage\Wxb7cbc144aa8e397ee4b4725a\testform3.pdf"/></document> of type: com.adobe.idp.Document to type: class com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance
    ALC-DSC-600-000:
    Will I need to transfer the xfa form or document form to document type? How to do that?
    Or is there another way to achieve this goal?
    Bking

  • Users added to a Task AFTER the BPM process has started

    Does anyone know of a way to assign users to a task AFTER the BPM process has started?

    Hi Craig,
    whenever a Task Instance gets created, the assigned roles and groups are resolved into individual users. This means that changes to the roles and groups do not affect existing Task Instances.Then the only way to assign additional users is via "nominate" operation from the NWA or "delegate" from the Task UI. Such changes in the roles and groups will only take affect for newly created Task Instances.
    Hope this helps.
    Stefan

  • Unknown resource while adding resource in Task Information dialog

    We used PSI to create the project in Project server, but then we open the project plan to assign resources to task with two ways:
    - Add Resource in Task Information page
    - Assign Resource using the button "Assign Resources" in the ribbon
    But it failed with the first way with the following information:
    "Unknown Resource", the name you entered is invalid. The name must be an enterprise resource assigned to this project, or the project owner".
    But if succeeded if we did with "Assign Resources" button.
    Kevin Li

    There were two oracle home directories in existing node.
    /opt/oracle/app/oracleo/product/11.2.0    &
    /opt/oracle/app/oracleo/product/11.2.0.4
    Tried to add instance from silent mode. Got to know that i have to run the silent mode command from the node where i need to add the instance.
    There were 2 different oracle_home path in existing node.but in the new node i had  '/opt/oracle/app/oracleo/product/11.2.0 ' .
    Hence, have copied the binaries from /opt/oracle/app/oracleo/product/11.2.0.4 (existing node) using addnode.sh command and the GUI worked.
    Regards,
    Raj

  • Adding/Deleting Deferred task thru Tabbed User Form

    I am trying to find a way to add/deleted deferred tasks thru the Tabbed User Form. Does anyone have any ideas?

    I am trying to find a way to add/deleted deferred tasks thru the Tabbed User Form. Does anyone have any ideas?

  • Deployment Workbench Adding Applications Using Task Sequence

    I am trying to figure out how to add applications in Deployment Workbench. My biggest issue is what to put in the command line to get it to work. Someone else created folders with everything that would needed along with a batch file. Now I am trying to
    figure out how to get that to work in Deployment Workbench. I am also trying to figure out how to then get it to work in Task Sequence since it is not currently working the way I have tried. Thanks.

    Hi,
    Here is a guidance for you:
    Installing Applications with MDT.
    http://lethewookiewin.wordpress.com/2011/04/21/84/
    You referred that something didn’t work for you, can you kindly provide the error message? If you were using any scripts you can also attach them.
    Thank you.

  • I downloaded Gotasks to my ipad mini and added tons of tasks. Howcan I transfer the whole app   my tasks to my new Iphone? Thanks

    How can I transfer this app to my iphone without losing my asks?
    Thanks.

    Hello Arthur. I am sorry  in the I probably wasn't too clear. Actually no, the MBP was not restored. These mailboxes, or accounts, were added. I was to start using my own site rather than yahoo, gmail etc. So I made up several accounts as I can have unlimited mailboxes on my site. I decided to have boxes that classified who the mail is coming from so when a family member writed to me they use an address [email protected] When a friend writed the are told my email address is [email protected] When my doctor or health insurance need to communicate with me the write to [email protected]..and on.
    So I added 10 POP accounts with names following the convention I just outlined. I am trying to see if there is a way that they will automatically appear on my othr devices without having to create the same 10 mailboxes/accounts on myu iPad and iPhone. As I said, I don't remember have to create the old mailboxes on all three devises....just on the MBP.
    I hope this makes it clearer.
    Thanks.

Maybe you are looking for

  • Install PC Suite 7.0.8.2 to drive other than C

    I am trying to install PC Suite 7.0.8.2 to my D: drive, but there is no choice given in the installation. Is it possible to install to a drive other than the C drive? I have little space left on the C drive.

  • Am I able to out a CD?dvd in the envy recline if so how ?

    Have just bought a HP envy recline and am desperately trying to find out if I can play CDs and DVD s in it This question was solved. View Solution.

  • Why was the head phone jack moved to the bottom of the iPhone 5

    Why was the head phone jack moved to the bottom of the iPhone 5

  • Logic Pro 8 Issues, Error Messages

    Hi all. I've been having a variety of problems with my home recording studio, which i have neglected to post about until now- from what i've read it seems no-one knows how to fix them. I'm turning to the MacTalk community to resolve my woes... First

  • Downloading CS5 Web Premium

    I have previously purchased Adobe Web Premium 5. My hard drive crashed and I had to replace it with new one and I did not have the back up of the software. Is there a way to download the CS5 web premium. I have my serial number with me. Please help m