How to get the document details of a Workflow Request?

We are using listRequests method of RequestManager class for getting workflow requests. This method returns collection of request information. But how we can get details of document, which has to be approved, through that request id?

Hi,
Hope u got the solution. If not, you can get the Document Item like this.
// Its the method call of previous link nickw-ocs has provided
Vector fileNames = getTargetDocumentsFromFolder(request1);
for (int j = 0 ;j<fileNames.size() ;j++ )
AttributeRequest[] pathar = new AttributeRequest[]
WSF.newAttributeRequest(Attributes.PATH),
WSF.newAttributeRequest(Attributes.PARENT_FOLDER)
FileManager filemanager = session.getFileManager();
// Resolve the file path based on folder ,document name
// combination.
String fileName = (String)fileNames.get(j);
System.out.println("Item id : "+item.getId()+" File Name : "+fileNames.get(j));
Item targetItem = filemanager.resolveRelativePath(item.getId(), fileName,
pathar);
// here you got the Document Item. So, you can do what ever u want, like read the docuemnt, update categories etc..
if (targetItem != null)
targetdocuments.add(targetItem);
}

Similar Messages

  • How to get the network details in flex4.5 web application

    How to get the network details in flex 4.5 web application
    similar to the nativeinterface in air application

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • How to get the "Document Info" in illustrator

    In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
    Regards,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to get the document path of the pictures uploaded for products?

    Hi Gurus,
    How to get the document path of the pictures uploaded for products uploaded through tcode COMMPR01?
    Many Thanks,
    Neeraj

    client path.
    I need to get the client path in order to download files form server to client.
    Best regards,
    Huy.

  • How to get the document number for a ware house order.

    Hello gurus,
    how to get the document number for a ware house order. [if GI is posted refering that WH order] .. is there any report?
    Thanks in advance

    There are several options.  When you post a Goods Movement, you can use LB12 -display Transfer Requirement for material document or LB11 Display TR for material.
    Depending on how your system is set up you may have gotten a Transfer Order automcatically.  In this case you can look at LT24 - Transfer Order for material.

  • How to get the input details on the output screen in T code KCR0

    Hi All,
    How to get the input details on the output screen in T code KCR0, the issue is that we need to get the input details like Company code and payment date on the output screen while executing the report painter via t code KCR0.
    I tried to chane the settings via t code KCR6 but still didn't get the required output details.
    Regards,
    Ajay

    This is the asset accounting forum.  You should post your question in the proper forum.

  • We need to buy Adobe Framemaker version 11. The distributor is only able to provide us with version 12. Can someone suggest me how is it possible to get the license for ver 11 serial  key after purchasing ver 12 and also how to get the download details ?

    We need to buy Adobe Framemaker version 11. The distributor is only able to provide us with version 12. Can someone suggest me how is it possible to get the license for ver 11 serial  key after purchasing ver 12 and also how to get the download details ?   Urgent response will be helpful.D

    Adobe Support helped us with a similar query. We ended up with exactly what you need.

  • How to get the storage details during 5 min interval

    Hi,
    I used below java code to collect the storage details. But i didn't get any output. Without filter condition it display all the records available in table. How to get the
    last five min data. Based on this how to change the tablequery.? I used partition key too. that also didnt work.
    1) How to use the tick count in this example.
    CloudStorageAccount httpAcc = CloudStorageAccount.parse(storageConnectionString);
    CloudTableClient tableClient = httpAcc.createCloudTableClient();
    CloudTable table = tableClient.getTableReference("$MetricsHourPrimaryTransactionsTable");
    Date date = new Date();
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 
    TimeZone utc = TimeZone.getTimeZone("UTC");
    sdf.setTimeZone(utc);
    String upperBound = TableQuery.generateFilterCondition("TIMESTAMP",QueryComparisons.LESS_THAN,sdf.parse("2015-02-04")); // // sdf.format(cal.getTime())
    System.out.println("call lowertime ->"+upperBound);
    String lowerBound = TableQuery.generateFilterCondition("TIMESTAMP",QueryComparisons.GREATER_THAN,sdf.parse("2015-02-01"));
    System.out.println("call uppertime ->"+lowerBound);
    String filter = TableQuery.combineFilters(upperBound, Operators.AND, lowerBound);
    //String startTick = TableQuery.generateFilterCondition("TIMESTAMP",QueryComparisons.GREATER_THAN,sdf.parse("2015-09-03"));
    //System.out.println("the startTick==="+startTick);
    //String tick = TableQuery.generateFilterCondition("PartitionKey",QueryComparisons.GREATER_THAN,startTick);
    TableQuery<DynamicTableEntity> query = TableQuery.from(DynamicTableEntity.class).where(filter).select(new String[] {"Availability","TotalRequests","PercentSuccess"});
    for (DynamicTableEntity ent : table.execute(query))
    EntityProperty countProp = ent.getProperties().get("Availability");
    if (countProp == null) 
    throw new IllegalArgumentException("Invalid entity, Count property not found!");
    System.out.println(countProp.getValueAsString());
    EntityProperty countProp1 = ent.getProperties().get("TotalRequests");
    System.out.println(countProp1.getValueAsString());
    EntityProperty countProp2 = ent.getProperties().get("PercentSuccess");
    System.out.println(countProp2.getValueAsString());
    Regards,
    Rathidevi
    rathidevi

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • How to get the "Document info" in illustrator cs?

    Hai all,
    I need to know how to get the counting of RGB objects, CMYK Objects and Grayscale Objects information for illustrator vector(editable) file.
    In illustrator raster image file, i need to know how to get the Embedded image information(Resolution, Mode).
    I collect these infomation manually from "Windows->Document info". I saved the "Document Info" details in illustrator manually using "Document Info Pannel". I dont know how to save that information through "illustrator sdk" or through any other way without manual interaction. Could you please advice me. This is for windows operating system.
    Thanks,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to get the document which is associated with a process having specific Guid value?

    when a PDF file is opened, AcroRd32.exe is started automatically, and we get the GUID value of that adobe reader.
    In c#, can't we get the document associated with the GUID value,  I mean the total PDF file which is opened in adobe reader at runtime.
    Here I'm struck up in code, can anyone suggest how to where I was missing something.
    Acrobat.CAcroAVDoc AcroAvDoc;
    Type AcrobatCAcroType;
    AcrobatCAcroType = Type.GetTypeFromCLSID(new Guid("{CA8A9780-280D-11CF-A24D-444553540000}"));  This CLSID is of adobe reader's.
    ///////Here I think I'm missing something
    Object obj = Activator.CreateInstance(AcrobatCAcroType);
    AcroAvDoc = (Acrobat.CAcroAVDoc)obj;
    I think I can get the full PDF document with AcroAvDoc.GetPDDoc();
    Thank you...

    Post your question in the forum for Acrobat SDK.

  • How to get the User Details inoformation in portal?

    I had defined the user informations in "Portal User Details". But i don't know how to get it and what the user table is?
    for example: How to get the email address of user i have defined in portals?
    Tank you very much!
    Ghia Liu
    Genesyslogic.com.tw

    You would use the portal API's for this, there is one named wwsec_api.person_info that returns a record with the specified user's information, such as first name, lsat name, email, telephone, etc - a pretty long list. With release 2 of portal the data is no longer stored in the wwsec_person$ table as it was in release 1 so use the API (which actually is how I would normally do it in release 1 as well).
    To get more documentation on portal API's go to: http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/astart.htm
    Hope that this helps you - enjoy the day!
    Art

  • How to get the document type, name and revision from the search page cv04n

    Hello,
    After performing cv04n and getting a list of documents satisfying the search criteria, how can I then get the document type, name and revision of the selected document using ABAP?
    Thanks

    HI,
    IN table DRAW... u have Document type, Version and document number.
    In Table DRAT also u get Document Type, Version, Number and Description of Doucment.
    Regards
    SAB

  • How to get the recruitment details in a customised report.

    Dear Experts,
    We are into developing a report which has to fetch the below.
    1.vendor name
    2.No. of positions
    3.Dept.name
    4.amount
    5.cost of recruitment
    6.Number of advertise ments.
    Experts,from where we have to get the above details.
    Please advice
    V Sai.

    Thread is closed.
    v sai

  • Coded UI -VSTS 2012 How to get the tab details from UITabContainerPane(UI Test Control)

    Hi Team,
    I am quite new to Coded UI. I am trying out the possibility of Coded UI for Spotfire Report Validations which is available in web portal. I have three tabs on my web page. How can get the list of tabs and act on each. In the recorded script i could see that
    under UITabContainerPane I can see the tab coming under UITabContainerPane(UITestControl). I am not sure from this parent how will i get the childs to get access to each tabs. Please advice.
    Thanks & Regards,
    Divya

    I tried the following code however when i do a quick watch on div i get a timeout.
    public partial class UIMap
            public void selectTab()
                HtmlDiv div = new HtmlDiv();
                div.SearchProperties[HtmlDiv.PropertyNames.Name] = "tab";
                HtmlControl controls = new HtmlControl();
                controls.SearchProperties.Add(HtmlControl.PropertyNames.Class, "singleTabContainer");
                UITestControlCollection collection = controls.FindMatchingControls();

  • How to get the pipeline details

    Hi All,
    Can any body please let me know how to get the lst of pipelines in XI. I mean all the steps through which all the message is processed. Is there any transaction for the same?
    Thanks and best regards,
    Kulwant Singh

    Krishna,
    With the trace Level 1 ( default value ), you can only see the steps partially,
    1. Inbound Message
    2. Receiver Identification
    3 . Dont remember exactly.
    Just give it a shot by changing the trace level's and see the difference for yourself.
    Regards
    Bhavesh

Maybe you are looking for