Task details from getTaskQueryService().queryTasks(.......)

Are there options to retrieve all task details from a call of getTaskQueryService().queryTasks(......)?. Bcoz I don’t want to first call getTaskQueryService().queryTasks(......) and after that call querySvc.getTaskDetailsById(wfCtx, taskId).
I need to list all task with info provided by the payload.
Thanks

Hi Nith,
I think you can write custom component to do that.
Please refer to LCES Java API:
http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/index.html
And how to write a custom component:
http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000934.html
Alternatively, you can refer to LCES Actionscript API:
http://livedocs.adobe.com/livecycle/8.2/programLC/common/langref/
For my current project, if you need to interact directly with Task, like save or submit, you should use LCES Action script API. If you want to retrieve additional information of task to display somewhere in your custom workspace then write separate Java component to retrieve task details and send it back to Flex via XML.
Hope it helps,
Regards,
Tuan Anh

Similar Messages

  • Why is the FROM field in Task Details not always populated on in-flight BPs

    On a BP, the Task Details section contains a "From:" and a "To:" field.
    1. If I am the assignee, the From and To fields are populated.
    2. If I am NOT the assignee, the From field is empty, but the To field is populated. The behavior is the same whether the assignee accepted the task or not.
    This becomes inconvenient, for example, on a coordination step with multiple inflows and outflows. If the From field were always populated, I could readily get a sense of the context of the current step without fishing through the timestamps of the Process Details, particularly if this step is revisited multiple times.
    Granted, it's minor, but our users have noticed. Is there any reason for this?

    Thank you for your reply.  I changed the error handling as you suggested on the 2nd lookup to redirect to unmatched rows.  Now I get all greet.  I don't have the conditional split as in your diagram.  But also, nothing appears to have
    happened in the DB.  Aren't the rows in my text file supposed to be added to the FactCurrencyRate table?
    How do I get a conditional split?
    Rich P
    OK, sorry I forgot to reply you back.
    Conditional Split was just dummy task. Ignore it.
    Manipulate the data in such way that you get matching records.
    Inside Source, for first 2 rows I put the dates which are available in DimDate.
    1.00010001,ARS,7/1/2005 0:00,0.99960016
    1.00010001,ARS,2/5/2006 0:00,1.001001001
    1.00020004,ARS,9/5/2001 0:00,0.99990001
    1.00020004,ARS,9/6/2001 0:00,1.00040016
    1.00050025,ARS,9/7/2001 0:00,0.99990001
    1.00050025,ARS,9/8/2001 0:00,1.001001001
    Then in OLE DB Destination, I loaded the rows to TestFactTable.
    (Now, you don't even need NO MATCH OUTPUT as there are matching records here)
    Cheers,
    Vaibhav Chaudhari
    [MCTS],
    [MCP]

  • Workflow task details are being retrieved from the server

    Hi,
    Using an approval workflow. when the task has been assigned to the person he is getting an email but when clicking on the edit this task button ,the pop window with the
    "workflow task details are being retrieved from the server" 
    error is getting. SharePoint site 2007 and Microsoft Outlook is 2010.

    I have a similar issue with my version of SharePoint. 
    SharePoint 2010 Enterprise.
    Outlook 2013 with MS Exchange
    Document approval workflow.
    When you open the document approval email that comes from SharePoint and click on "Open this task"  the popup window flashes across "workflow tasks details are being retrieved from the server ".
    I've tried the regedit fix and the hive fix and resetting IE that some of the other people have said that works and it doesn't. 
    When I go the site, and connect the task list to Outlook, I can complete the task that way.
    I also created a new approval workflow in SharePoint designer and it behaves the same way.
    Anything else I should try?
    == Steve Morley MedIT, Dalhousie University

  • I have a task, that is i want to retrive the details from active directory based on name and i want show that details into grid view.

    Hi All,
    I have a task, that is i want to retrive the details from active directory based on name and i want show that details into grid view.
    Can any one help how to start.
    Thanks in advance!

    Hi AnilKarthik,
    You can get user details by name using DirectoryService namespace. Then you can create a DataTable to restore the information and then bind to the SharePoint GridView.
    Here are some deatiled code demos for your reference:
    how to get userdetails from Active Directory based on username using asp.net:
    http://www.aspdotnet-suresh.com/2011/03/how-to-get-userdetails-from-active.html
    How to get User Data from the Active Directory:
    http://www.codeproject.com/Articles/6778/How-to-get-User-Data-from-the-Active-Directory
    Using SPGridView to bound to list data in SharePoint:
    http://nishantrana.me/2009/03/23/using-spgridview-to-bound-to-list-data-in-sharepoint/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • BPEL Human Task: how to remove task details section from notification email

    This is concerning the human task component of SOA Suite 11g. Upon task assignment, the assignee receives an email notification with an administrator configured text. Below this text the task details are automatically added. How can this be removed? Marking the notification as 'secure' also removes the administrator configured text. But that I'd like to keep. Only the automatically added task details section needs to go. Any hints?

    This configuration is available in the following navigation. Workflow Administrator Web Applications > Oracle Applications Manager > Workflow Manager > Service Components > Workflow Notification Mailer > Edit > Advanced > Message Generation section > Templates. You can refer to the "Oracle Workflow Administrator's Guide" > "Modifying Your Message Templates" for more information.
    Please note that this applies to ALL the outbound notifications, not specific for Purchasing notifications.

  • Task details in BPM worklist on SOA 11g could not retrieved.Experts plz adv

    Hi,
    This is regarding issues when I click on the Task details on the BPM worklist 11G. I am invoking a BPEL process using custom JSP and from the custom JSP form values are
    sent to BPEL and from BPEL i am invoking the Human workflow.
    Tech used: BPEL 11.1.1.2, RCU 11.1.1.2.1, WLS 10.3.2 and DB 10.2.0.4
    I am using one jsp named "myFlow.jsp" to call the BPEL process and i can able to get the Task in worklist but i click on "Task details" , i am getting "404 error".
    Note: There was no errors when i tried with ADF autogenerated form. I can able to approve, reassign and do all operations.
    I got one soultion for that, i mean i have to create another custom jsp(taskDetails.jsp) to fetch the values based on the Task Id and finally i have to give that URI in EM to fetch the details.Today i created that also but i dont know how to give the URI IN EM for the task details jsp. I am refering soa developes guide also to get the API's.
    My Ref: http://sqltech.cl/doc/oas11gR1/integration.1111/e10224/bp_worklistcust.htm
    http://docs.tpu.ru/docs/oracle/en/owl/E14571_01/integration.1111/e10224/bp_designtf.htm
    1. myFlow.jsp used - To initiate the BPEL to create a Task in worklist.(By mistake i gave this URI in EM and i am getting the same request page in the task details). Now i created another jsp which queries the task details based on the Task ID. i dont know how to give the URI in EM for this Jsp.
    2.taskDetails.jsp - Used to retrive the task details based on thr Task id.
    Both Jsp's are displayed below. Please advise how to fetch the task details.
    worklist API provided by oracle is used to fetch only the metadata on the Task details but i have to get all the form values also in the task details that has been submitted
    by my Jsp(myFlow.jsp)
    Both are shown below,
    *1. myFlow.jsp*
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%--
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    --%>
    <%@page import="oracle.fabric.common.NormalizedMessage" %>
    <%@page import="oracle.fabric.common.NormalizedMessageImpl" %>
    <%@page import="oracle.soa.management.facade.Locator" %>
    <%@page import="oracle.soa.management.facade.LocatorFactory" %>
    <%@page import="oracle.soa.management.facade.Composite" %>
    <%@page import="oracle.soa.management.facade.Service" %>
    <%@page import="oracle.soa.management.facade.CompositeInstance" %>
    <%@page import="oracle.soa.management.facade.ComponentInstance" %>
    <%@page import="oracle.soa.management.util.CompositeInstanceFilter" %>
    <%@page import="oracle.soa.management.util.ComponentInstanceFilter" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="java.util.UUID" %>
    <%@page import="java.util.List" %>
    <%@page import="java.util.Map" %>
    <%@page import="javax.xml.transform.*" %>
    <%@page import="javax.xml.transform.dom.*" %>
    <%@page import="javax.xml.transform.stream.*" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="org.w3c.dom.Element" %>
    <%@page import="java.io.*" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>myFlow</title>
    </head>
    <body>
    <%
    String ssn = request.getParameter("Name");
    if (ssn == null)
    %>
    <h3>Invoke BPEL Application</h3>
    <h4>NYC Application Form</h4>
    <form>
    <table>
    <tr>
    <td>NAME:</td>
    <td><input type="text" name="Name"></td>
    </tr>
    <tr>
    <td>NRIC Number:</td>
    <td><input type="text" name="NRIC" value="12345678"></td>
    </tr>
    <tr>
    <td>Gender:</td>
    <td><input type="text" name="Gender" value="Male"></td>
    </tr>
    <tr>
    <td>Race:</td>
    <td><input type="text" name="Race" value="Indian"></td>
    </tr>
    <tr>
    <td>Occupation:</td>
    <td><input type="text" name="Occupation" value="IT"></td>
    </tr>
    </table>
    <input type="submit" value="Submit">
    </form>
    <%
    else
    String Name = request.getParameter("Name");
    String NRIC = request.getParameter("NRIC");
    String Gender = request.getParameter("Gender");
    String Race = request.getParameter("Race");
    String Occupation = request.getParameter("Occupation");
    // 3. Initiate the BPEL process here
    //Locator locator = new Locator("default","bpel");
    //IDeliveryService deliveryService = (IDeliveryService) locator.lookupService(IDeliveryService.SERVICE_NAME );
    // Construct a normalized message and send to Oracle BPEL Process Manager
    //NormalizedMessage nm = new NormalizedMessage();
    // nm.addPart("payload", xml);
    // Initiate the BPEL process
    // deliveryService.post("myFlow", "initiate", nm);
    try {  
    Hashtable jndiProps = new Hashtable();
    jndiProps.put(Context.PROVIDER_URL, "t3://172.16.16.202:8001/soa-infra");
    jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    jndiProps.put(Context.SECURITY_PRINCIPAL, "weblogic");
    jndiProps.put(Context.SECURITY_CREDENTIALS, "weblogic1");
    jndiProps.put("dedicated.connection", "true");
    out.println("====Got Values======" + jndiProps.get(Context.PROVIDER_URL));
    String inputPay = "<nycproject xmlns=\"http://xmlns.oracle.com/NycDesignApps_jws/NycDesignComp/NycDesignProcess\">\n"
    + "<Name>" + Name + "</Name>\n"
    + "<NRIC>" + NRIC + "</NRIC>\n"
    + "<Gender>" + Gender + "</Gender>\n"
    + "<Race>" + Race + "</Race>\n"
    + "<Occupation>" + Occupation + "</Occupation>\n"
    + "</nycproject>\n";
    Locator locator = null;
    //http://xmlns.oracle.com/TestDesignApp_jws/TestDesignComp/TestProcess
    //http://xmlns.oracle.com/NycDesignApps_jws/NycDesignComp/NycDesignProcess
    // connect to the soa server
    locator = LocatorFactory.createLocator(jndiProps);
    out.println("Connected after Locator - Available domains==>>" +locator.getDomains());
    // find composite
    String compositeDN = "default/NycDesignComp!1.0";
    Composite composite = locator.lookupComposite("default/NycDesignComp!1.0");
    out.println("Got Composite : "+ composite.toString());
    //out.println("Got Composite : "+ composite.getCompositeDN().toString());
    // find exposed service of the composite
    Service service = composite.getService("nycdesignprocess_client_ep2");
    out.println("Got serviceName : "+ service.toString());
    NormalizedMessage input = new NormalizedMessageImpl();
    //String uuid = "uuid:" + UUID.randomUUID();
    //input.addProperty(NormalizedMessage.PROPERTY_CONVERSATION_ID,uuid);
    input.getPayload().put("project", inputPay);
    Map payload = input.getPayload();
    out.println("Payload : "+ payload);
    out.println("input : "+ input);
    // process is the operation of the employee service
    //NormalizedMessage res = null;
    //NormalizedMessage input1 =null;
    try { 
    //res = service.request("process",input);
    //input1=service.request("process", input);
    service.post("process", input);
    } catch(Exception e) { 
    e.printStackTrace();
    out.println("Inside Catch1" + e.getMessage());
    //service.post(arg0, arg1);
    }catch(Exception e) {
    out.println("Inside Catch2" + e.getMessage());
    e.printStackTrace();
    %>
    </body>
    </html>
    *2.taskDetails.jsp*
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=EUC-KR"%>
    <%@page import="java.util.*" %>
    <%-- <%@ page import="com.oracle.jay.WorklistClient"%> --%>
    <%@page import="oracle.bpel.services.workflow.client.IWorkflowServiceClientConstants" %>
    <%@page import="oracle.bpel.services.workflow.client.IWorkflowServiceClient" %>
    <%@page import="oracle.bpel.services.workflow.verification.IWorkflowContext" %>
    <%@page import="oracle.bpel.services.workflow.client.WorkflowServiceClientFactory" %>
    <%@page import="oracle.bpel.services.workflow.query.ITaskQueryService" %>
    <%@page import="oracle.bpel.services.workflow.task.model.Task" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR"/>
    <title>TaskDetailsTest</title>
    </head>
    <body>
    <%
    String bpmWorklistTaskId = request.getParameter("bpmWorklistTaskId");
    String bpmWorklistContext = request.getParameter("bpmWorklistContext");
    Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>
    properties = new HashMap<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>();
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.MODE, IWorkflowServiceClientConstants.MODE_DYNAMIC);
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://172.16.16.202:8001");
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "weblogic1");
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "weblogic");
    IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT, properties, null);
    IWorkflowServiceClient wfSvcClient =
    WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT, properties, null);
    //IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.JAVA_CLIENT);
    IWorkflowContext ctx = null;
    ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
    ctx = querySvc.getWorkflowContext(bpmWorklistContext);
    Task humanTask = querySvc.getTaskDetailsById(ctx, bpmWorklistTaskId);
    out.println("<br>Task Number: " + humanTask.getSystemAttributes().getTaskNumber());
    out.println("<br>Task Id: " + humanTask.getSystemAttributes().getTaskId());
    out.println("<br>Title: " + humanTask.getTitle());
    out.println("<br>Priority: " + humanTask.getPriority());
    out.println("<br>State: " + humanTask.getSystemAttributes().getState());
    out.println("<br>Assignees: " + humanTask.getSystemAttributes().getAssignees());
    out.println("<br>AcquiredBy: " + humanTask.getSystemAttributes().getAcquiredBy());
    out.println("<br>Updated Date: " + humanTask.getSystemAttributes().getUpdatedDate());
    out.println("<br>Assigned Date: " + humanTask.getSystemAttributes().getAssignedDate());
    out.println("<br>Created Date: " + humanTask.getSystemAttributes().getCreatedDate());
    out.println("<br>Updated By: " + humanTask.getSystemAttributes().getUpdatedBy());
    out.println();
    %>
    </body>
    </html>
    Please Advise
    Kind Regards,
    -Bharathi

    It's too late but if someone need the answer..
    You can set if the outcome requires comments in General section of the Human Task.

  • OBPM 11.1.1.4 - Task details not shown in Process Workspace

    Hi All
    On my laptop, OBPM 11.1.1.4 is running (XE+11.1.1.4 with AdminServer at 7001,7002 and soa_server1 at 9001,9002).
    I am trying sales demo. In the process workspace, I can click on applicaiton name which opens a new window and let me enter details and submit. However, after that when I click the task in the workspace window, it does not show in the lower pane (double clicking also does not work).
    It is trying to access the below url for the task details-
    res://ieframe.dll/dnserror.htm#http://localhost:9001/bpm/workspace/faces/adf.task-flow?adf.tfId=taskDetail-task-flow-definition&adf.tfDoc=/WEB-INF/taskDetail-task-flow-definition.xml&taskId=a656555d-e88b-46b0-99f6-74b358349174&refreshURL=http%3A//localhost%3A9001/bpm/workspace/faces/jsf/worklist/worklist.jspx&refreshTaskListButtonId=wlctdc%3Aj_id_id14%3Ar1%3A0%3Atldc%3ArefreshTaskList&_afrLoop=36204498288123&_afrWindowMode=0&_afrWindowId=null
    Any idea?
    regards
    sibendu

    Yes the EAS schema was upgraded by the configurator.
    I ran upgrade_ps2.sh (unix) without changing any configuration just to see what it does and (after I had to manually create the directory structure for the log file) it created an HBRrules.xml file successfully fo the first time under EPMData/planning (The missing log file directory structure may have been why the configurator didn't create the HBrrules.xml file at the first attempt during the Planning upgrade)
    Anyway not entirely sure where upgrade_ps2.sh got its rules information but the file it created was very similar to the HBR file exported from EAS prior to starting the upgrade.
    I attempted a 'migrate' again with Calculation Manager but still get the "No objects were found in the document for importing", i.e. kind of back to square one.
    I really need to understand what is Calc Managers problem?
    Q .What server should the upgrade_ps2.sh be run on? Planning or Shared Services? (I did it in on both)
    Q. How can I get Calc Manager to tell me more with logging or tracing somehow?
    Any other suggestions gratefully received
    Many Thanks

  • Project Pro corrupting task details (% complete, start date, due date) on SharePoint Online

    I think I've found a bug with Project Professional for O365 Client ... or it may be 'intended' behavior that's potentially quite destructive. Sorry for the long post.
    Here's my scenario. I have a 'project site' set up in SPO. I use the richness of Project Pro Client to update tasks in that project, and members of my project team update their tasks using the basic SPO interface through web browser.
    Here's my problem ... two in fact.
    #1 - whenever I open Project Client and access the tasks in the SPO project site, it (Project Client) randomly changes some info about some of the tasks in the project ... at the time the Client OPENS. E.g. % complete, start date, end date are some of the fields
    that are being clobbered by the Client. But only on some tasks, not all. So imagine a task is 100% complete. Open the Client, and it also shows the task 100% complete once all the synchronization with the SPO task list is complete, but now go look on SPO (while
    Client is still open on my laptop), and the task suddenly shows 50% complete. Now close the Client WITH SAVE, and it sets the task back to 100%. But close the client WITHOUT SAVE (remember, we haven't changed anything, so why would I save?), and the task gets
    left at 50% complete in SPO. Same behavior with dates. And again, Client is not doing this with all the tasks in the project, just some of them, and I haven't been able to find the pattern.
    #2 - Project Client, for whatever reason, creates a new version of each task in the project on SPO, even though nothing changed about the task (i.e. no updates to % complete, start date, end date or anything else). I have versioning turned on so that I can
    see the history of each task (i.e. see who changed/updated each task and when). Problem is that the Client is adding a new version each time I run it and access the project, causing old version info to be dropped (because I limit the number of versions to
    20), making it impossible for me to spot legitimate changes to task details among all the 'false' version changes generated by the client.
    I have a test project with just 3 tasks set up on my test site. I'm able to reproduce the behavior above every time (i.e. it's not intermittent).
    Has anyone out there had similar unexpected behavior from the Project Client/SPO project site combination?

    Hi rexcs,
    Since this thread is more related to Visual Studio Online, I will move it to the right forum for a better response. Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • List workflow task details

    Hi all,<br>
    We're in the midst of evaluating oracle bpel pm 10.1.2 for our application. I had created an user task using jdeveloper bpel designer. Successfully tested the flow using bpel console and bpel worklist. I intended to develop a gui for displaying the task and task details using jsp pages. listTasks.jsp will display a list of tasks for a person. displayTask.jsp will allow that person to see the task details. Successfully implemented the listTasks.jsp with the following code:<br><br>
    listTasks.jsp<br>
    //import necessary packages<br>
    WorklistService wlSvc = WorklistService.getWorklistService();<br>
    String user = "achrist";<br>
    String password = "welcome";<br>
    IWorklistContext ctx = wlSvc.authenticateUser(user, password);<br>
    Map filterMap = new HashMap();<br>
    //put necessary filter in map<br>
    //get a list of tasks<br>
    //provide a link for user to see details<br>
    //something like <href="displayTask.jsp?taskId=<%= taskId %>"><br>
    //I had checked that the taskId contains value<br><br>
    displayTask.jsp<br>
    //import necessary packages<br>
    String taskId = request.getParameter("taskId");<br>
    if(taskId == null || "".equals(taskId)) {<br>
    //do something<br>
    } else {<br>
    WorklistService wlSvc = WorklistService.getWorklistService();<br>
    IWorklistContext ctx = wlSvc.authenticateUser("achrist", "welcome");<br>
    IWorklistTask task = wlSvc.getWorklistTaskDetails(ctx, taskId);<br>
    //having doubt to proceed further<br>
    }<br><br>
    I'm having problem with displayTask.jsp as how to proceed further. I'm using a schema file which contains info like customer name, address, customer id, and loan amount. How am I supposed to display those values in the jsp page? I saw a file called taskConfigSimpleUserActivity1_WF_Form.jsp, how can I make use of it? Any suggestion are welcomed and thanks in advance.<br><br>
    Regards,<br>
    k-lite

    I have a similar issue with my version of SharePoint. 
    SharePoint 2010 Enterprise.
    Outlook 2013 with MS Exchange
    Document approval workflow.
    When you open the document approval email that comes from SharePoint and click on "Open this task"  the popup window flashes across "workflow tasks details are being retrieved from the server ".
    I've tried the regedit fix and the hive fix and resetting IE that some of the other people have said that works and it doesn't. 
    When I go the site, and connect the task list to Outlook, I can complete the task that way.
    I also created a new approval workflow in SharePoint designer and it behaves the same way.
    Anything else I should try?
    == Steve Morley MedIT, Dalhousie University

  • Print Individual task Lists from Project 2010

    Hi
    I have a routine which prints individual task lists from a Project Plan using VBA.  This routine is currently being piloted and they have advised that not all resources have a task list produced.  when I step through the code the Resource numbers
    appears in this order:
    1,3,18,7,8,9,11,12,13,14,18,19,20,21,22,23,24,25
    Task lists are produced for each of the above resources.  However this misses resource numbers 2,4,5,6,10,15,16,17 and I have no idea why.  I have supplied my code below.  Any advice/guidance appreciated.  You will note that the task
    lists are exported to a pre-defined spreadsheet template.
    Sub PrintResourceCharts()
    Dim xlApp As Excel.Application
    Dim xlRange As Excel.Range
    Dim rName As String
    Dim Tsk As Task
    Dim Res As Resource
    Dim Ass As Assignment
    Dim s As Worksheet
    Dim BookNam As String
    Dim Row As Integer
    Dim fName As String
    'Call SetSummaryTask - DB: commented out - run summaryname manually as required.
    Call Task_CF_To_Assignment_CF
    'Remove Existing Task List files from directory before creating new ones
    On Error GoTo Finish
    Kill "D:\Task List Templates\Task Lists\*.*"
    Finish:
    'Save File Location
    fName = "D:\Task List Templates\Task Lists\"
    'Start Excel and Create a new Workbook
    Set xlApp = CreateObject("Excel.Application")
    xlApp.Visible = True
    'Export Resource and Task details
    For Each Res In ActiveProject.Resources
    If Res.Assignments.Count > 0 Then
    Row = 5
    xlApp.Workbooks.Open ("D:\Task List Templates\Task List Template.xlsm")
    BookNam = xlApp.ActiveWorkbook.Name
    Set s = xlApp.Workbooks(BookNam).Worksheets(1)
    For Each Ass In Res.Assignments
    Set xlRange = s.Range("A5")
    If Ass.PercentWorkComplete < 100 Then
    With xlRange
    rName = Ass.ResourceName
    s.Range("A" & Row).Value = Ass.ResourceName
    s.Range("B" & Row).Value = Ass.TaskUniqueID
    s.Range("D" & Row).Value = Ass.Text1
    s.Range("E" & Row).Value = Ass.Start
    s.Range("G" & Row).Value = Ass.Finish
    End With
    End If
    Row = Row + 1
    Set xlRange = xlRange.Offset(Row, 0) 'Point to next row
    Next
    xlApp.Visible = True
    Application.DisplayAlerts = False
    If rName = "" Then
    GoTo Finished
    End If
    xlApp.ActiveWorkbook.SaveAs FileName:= _
    "D:\Task List Templates\Task Lists\" & rName & ".xlsm", FileFormat:= _
    xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False
    rName = ""
    xlApp.ActiveWorkbook.Close savechanges:=False
    Application.DisplayAlerts = True
    End If
    Next
    Finished:
    xlApp.Application.Quit
    Set xlApp = Nothing
    MsgBox ("Individual Task Lists have now been produced....")
    End Sub

    Tony,
    You said you step through the code and it picks up resource 1. What happens when the loop gets to resource 2? Note: since resource 1 may have several assignments and stepping through them all could take some time, I sometimes use a stop statement in the
    outer loop to make it a little easier to "catch" what I'm looking for. For example, you could put this right after the For Each Res...
    If Res.ID = 2 then stop
    Then step through and see what happens.
    John

  • How to add custom link or button to task details page to open a different t

    Dear All
    In HumanTasks Workflow, On task details page, I want to add a custom link or button. Clicking on this link or button, should load a different task details page.
    The exact business usecase is like this:
    1. We have some human tasks with very detailed payload like about 100 attributes. When the task is submitted for Approval, we send notification emails. These emails shows the Task Details with all these 100 attributes along with standard Approve, Reject buttons etc. NOW in addition to this, we want to add extra custom button/link like Custom View. When we click on this buton or link, it should replace the task details page with the Custom task details page contents. The reason is most of the managers/approvers access their emails on smart phones like iphones. So in these phones, seeing full task details (100 attributes) is very tedious. So we want to provide a simplified view of same task with very minimum attributes like about 10 with Approve, Reject buttons. Now this compact view details will have a button called Detailed View on click on which it loads details page.
    So we want to have 2 pages for a task:
    taskDetails1.jspx -> Has all 100 attributes with a custom button/link called "Compact View". Click on Compact View switch to below page.
    taskCompact1.jspx -> Has only 10 attributes with a custom button/link called "Detailed View". Click on Detailed View switch to above page.
    1. I tried implementing this using the VacationRequest sample where the payload is like creator, startdate, enddate, reason. I already have taskDetails1.jspx page, which shows this information in the email body.
    2. I want to add another button to taskDetails1.jspx so that when I click on it, I want to load a different page like taskCompact.jspx which has only say creator, reason.
    I already added a link and gave the url with parameters like taskId, taskContext etc which I got from bindings, but nothing is displayed when I click on custom button. The taskId, context values are comming correctly in the url.
    So bottom line, what is the URL that I can provide in the task details page, to load a different task details page contents. I want to pass other taskdetails jsp details.
    Please let me know, if there is any other approach to implement this usecase.
    Thanks in advance
    Ravi Jegga

    Hi,
       I am not sure if you can add your own custom buttons to the application tool bar because your table control is in a sub screen area in a standard screen so the menu area would be controlled by the standard screen and not the subscreen , but along side the table control you can give buttons for scrolling and handle the same in the subscreen if you check the FM EXIT_SAPLMEREQ_002 it has a variable IM_UCOMM which would have the ucomm set in the subscreen so here you can handle your user command to scroll on the table control.
    Regards,
    Himanshu

  • Process Instance.Task Details.Update Date

    Hi experts,
    Process Instance.Task Details.Update Date
    Process Instance.Task Information.Update Date
    From these two dates which one captures the approval task assignment date.
    For e.g. If we reassign the approval task after some idle period to another approver which date will give this reassignment date?

    There's also information in the OSH and OSI table.
    Process Instance.Task Information.Assigned Date
    OSI_ASSIGNED_DATE
    Process Instance.Task History.Assign Date
    OSH_ASSIGN_DATE
    You might need to create an approval task and have inserted, and then reassign and do some testing to find the actual value you need to search for.
    Another note, any open task that is Rejected, Waiting, or Pending will be in the OTI table which should contain all these values.
    -Kevin

  • Pdf email attachment for human task detail notification

    We have a human task detail notification with pdf attachment.
    The email notification (generated automatically) flat out all content but no pdf attachment.
    Is this supported and if yes how to make it work?

    You can try using this tool to first remove all traces of Reader from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • Task details in Worklist did not work

    I have created a simple BPEL process which use human task flow for approval purposes. The input for the process is initiated from a DBAdapter(poll). For any changes or new row in the database, it will create a new instance.The problem is the task details for the worklist did not show the data retrieve from the DBAdapter. It only shows the table header. There are no error during the deployment and that made me wonder on how to display the details.Any help would highly be appreciated.

    the way to display the details is by creating a a new xml schema. Then assign the values from the DBAdapter to the new schema.By doing this, my task details actually displaying the details that I required

  • GRC PC3.0 Task name in work inbox = WI Text - cannot access the task detail

    Hi all
    We are using PC 3.0 -ECC6 has been upgraded to 6.05
    We cannot access PC tasks from the work inbox - this is true for all the users
    We can view the task - task name = WI TEXT
    Cannot click on the object name to get to task details
    Your help will be appreciate in case you face the same kind of issue
    Thanks
    Joelle

    SAP Note 1546241 solved the issue

Maybe you are looking for

  • Exporting data to Excel 2007 from SAP report

    Dear all, Earlier we used to have Excel 2003 and while downloading data from MC.9 Report - Export - Transfer to XXL, we could able to download the data. Now we have installed Excel 2007 and trying to download the data from MC.9 report, its opening ex

  • How to change the height and width of a control?

    Dear all, is there anyway to change the height and width of a control?  In the property nodes, i am just able to read the bound values but cudnt write to it. How can i set the bound values for a control? Thanks, Ritesh

  • Help: purchased movie not there

    I bought a movie on itunes and it downloaded and everything. However, when i go into my movies to play that movie it takes me to the menu but will not let me play the movie. I am unable to click on the play icon becuase it is all blacked out. I don't

  • SQL Question Bank and Answers for Practise

    Dear Readers: Does any one have any recommendation on SQL question bank and answers where I could practice my SQL. I have developed some basic knowledge of SQL thanks to the MS community, but I am looking for some additional Questions or textbook  re

  • Using UNIX DD to recover data on damaged drive

    My internal drive failed. I attempted to recover the data using Prosoft's Data Rescue II, but the program repeatedly crashed while trying to scan the drive. No love from Techtools, either. I tried creating a disk image with Disk Utility, but got an I