BPEL Custom Workflow (DocumentReviewWorkflow) with Content Services

Hi All,
Anybody working on BPEL Custom Workflows got Success in using the DocumentReviewWorkflow with the Content Services Development Kit 10.1.2.3.0
Please update..
Many Thanks in advance..!!!
Prasant

The DocumentReviewWorkflow that ships with the Content Services web services places the documents in the comments field.
There are examples in the sample code - DocumentReviewWorkflowAction.java file demonstrates how to get the URLs from Oracle Content Services
// Initialize the various Web Service Manager classes.
StringBuffer sb = new StringBuffer(100);
String endpoint = session.getServiceEndPoint();
setUpManagers(session);
try
// Obtain the new/updated document items.
Item[] documents = WorkflowUtils.getTargetDocuments(session,
m_WorkflowId);
int len = (documents == null) ? 0 : documents.length;
for (int i = 0; i < len; i++)
AttributeRequest[] pathar = WsUtil.newAttributeRequestArray(
Attributes.URL);
Item tmp =
(Item) m_CommonManager.getItem(documents.getId(), pathar);
String filepath = (String) WsUtil.getAttributesMap(
tmp)
.get(Attributes.URL);
// Convert the String list to a single string for convenience.
sb.append(filepath);
sb.append("\n");
finally
session.logout();
You can then add the document links as attachments by creating a list of attachments and then inserting the URLs for the documents in the URI - I've done it using a combination of Java and BPEL. Here is an excerpt
<bpelx:exec name="countAttachments" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
               System.out.println("Hello, World");
          // Note that the documents come back as a list of
          // documents with a line break between them
          String filename = (String) getVariableData("filename");      
          String[] docnames = filename.split("\n");
setVariableData("numberofdocuments", new Integer(docnames.length));
]]>
</bpelx:exec>
<assign name="initCounter">
<copy>
<from expression="0"/>
<to variable="counter"/>
</copy>
<copy>
<from>
<attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
<name/>
<URI/>
<content/>
</attachment>
</from>
<to variable="ParallelVar1" query="/task:task/task:attachment"/>
</copy>
</assign>
<while name="While_1" condition="bpws:getVariableData('counter') &lt; (bpws:getVariableData('numberofdocuments') - 1)">
<assign name="createAttachmentList">
<bpelx:append>
<bpelx:from>
<attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
<name/>
<URI/>
<content/>
</attachment>
</bpelx:from>
<bpelx:to variable="ParallelVar1" query="/task:task"/>
</bpelx:append>
<copy>
<from expression="bpws:getVariableData('counter') + 1"/>
<to variable="counter"/>
</copy>
</assign>
</while>
<bpelx:exec name="AddAttachmentsToList" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
               System.out.println("Hello, World");
          String filename = (String) getVariableData("filename");
          checkpoint();
          String[] docnames = filename.split("\n");
for (int i = 0; i < docnames.length; i++) {
int strlen = docnames[i].length();
int slash = docnames[i].lastIndexOf('/');
String filenameonly = docnames[i].substring(slash + 1, strlen);
int item = i + 1;
String varname = "/task:task/task:attachment[" + item + "]/task:name";
String varuri = "/task:task/task:attachment[" + item + "]/task:URI";
setVariableData("ParallelVar1", varname, filenameonly);
setVariableData("ParallelVar1", varuri, docnames[i]);
]]>
</bpelx:exec>
This uses the fact that the document URLs are returned as a \n delimited string.

Similar Messages

  • BPEL's NotifyUserOfChange with Content Services

    We have a problem getting data from Collaboration Suite's Content Services. We are using BPEL 10.1.2. We've used the built in jdev project NotifyUserOfChange. We are able to assign the Workflow so that each time a Conten Services file is updated in certain folders an email is generated with the folder name and a hyperlink to the file's location.
    What we would like to include in the email is the username of the person who uploaded or edited the file. In Content Services under document properties, we see the values Created By and Last Modified By, but are unable to figure out how to have BPEL get those specific values in our email.

    Hi,
    Assuming you are using the latest Content Services patch (10.1.2.3.x), you should be able to see in the incoming queue message a parameter named :-
    IFS_ECM_WORKFLOW_OWNER
    The value of this parameter is the user whom triggered the workflow.
    You could create a simple assign\copy rule using an xpath expression to extract this.
    For Content DB, we are soon releasing some new sample workflows based on SOA suite that should simplify things a fair bit.
    -Matt.

  • Long Time Customer Very Unhappy With Latest Service

    First off, I've purchased at least $15k-$20K worth of my electronics at Best Buy over the last 10 years...5 flat screens, a Bose sound system, washer and dryer, a Samsung refrigerator....all without problems...until my most recent purchase. I can honestly say it has been the worst experience I've had in retail ever.
    I purchased a Frigidaire FGHS2655PF5A on Feburary 13th, and it arrived quickly on the 16th. It didn't take long for the frost to build up and the internal fan to grind so loudly that it overpowered the tv sound in the next room so I called customer service on March 8th (the problems started earlier but I had other issues going on that took my time). Little did I know that Best Buy's return policy is 2 weeks. That seems really short for a $1,300.00 purchase. So I'm 6 days past a very short window to begin with and they offer to send out someone from Geek Squad to take a look at it. Personally, it sounded bad enough they should have just taken it back but I was given the "no exceptions" line several times, so I accedped the Geek Squad help. 
    The gentlman that came out was incredibly nice and professional, but he couldn't fix the problem. Apparently the first person I spoke with on the phone wasn't listening to the problem and sent a completely unrelated part, so the repair man ordered the right one and came back the next week to install it. Unfortunately it didn't work, and I still have crazy grinding and frost.
    I called the repairman and he in turn called back at the office to have someone call me to schedule a new appointment. I had a voicemail from someone who said to call back to Geek Squad, and that he had an open ticket for me to schedule more help.
    I called in tonight (April 14th)at 7:50 PM PST and got an incredibly unhelpful individual who said "Oh I see the ticket but I can't fulfill it. We were never supposed to even help you the first time" I responded "Well you kind of didn't, hence the reason I'm calling back, but are you telling me you won't send someone out to fix this broken refrigerator?" He said he would check with his manager and put me on hold. Five minutes later he said his manager denied the request. I asked to speak with the manager and he told me "It will be a long time, she's busy and I think she just left the floor" I asked him for his ID number or last name for reference and he said "I can't give you that information" Then I asked him for his supervisor's name "I can't tell you that either". I told him I'd wait for her to be available. 10 minutes later he came back and said "She's still busy, do you want to wait?" I said "Absolutely". 10 minutes later, he came back and said "I've been instructed to schedule someone to come out but I'm not doing it under my name so I don't get in trouble. My manager said that she was going to take too long and didn't want you to wait so I could submit the order"
    So here's the situation I'm in. Long time customer, horrible experience that hasn't been indicative of all of my experiences, but this one was terrible.  In the past I've had nothing but great things to say about Best Buy, but given the incredible frequency of how obnoxiously loud my refrigerator is, I have a story that I will tell everybody that comes into my house and asks "what the heck is that noise?".

    Hello Jmcc084,
    Welcome to the forum. In our household of 5 (sometimes 6 when my son is home from college), I could not see myself being without a fully functioning refrigerator. Also, the grinding noise sounds dreadful. I can completely understand your frustration, and I'm very sorry to hear how many troubles you've encountered to get it repaired.  
    Using the e-mail you registered on the forum, I was able to locate the service orders for your refrigerator, and I will be reaching out to the appropriate team to gather more information. I will be following up with you as soon as I have more details. In the meantime please do not hesitate to let me know if you have any further questions or concerns. 
    Sincerely, 
    Maria|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How can i add custom document properties in Content Services?

    Hello guys.
    I have question. I need to add custom attributes of document uploaded in CS.
    I know about categories, and it will help me.
    But i need it on the properties page? in main tab, where docname, creationdate, etc. appears. Is it possible?
    Ideally it should appears in main window of CS, without any additional clicks.
    Is there any way organize it without development new Web Services?
    Thank you.

    One possible way of doing this would be to use the $A mapping in the send_access mapping table. see http://docs.iplanet.com/docs/manuals/messaging/ims52/ag/filter.htm#15965
    This will depend on what value you wish to use in the header and when and where during the message routing you want to add the header.
    You can use channel level filters on the send_access or orig_send_access mapping table to control at which point the header is added but without knowing more about what you wish to do and which conditions you wish to use to add the header it is difficult to say more. It is possible to use a "customer supplied routine (in the form of a shared object call) from the mapping process, but during the mapping process the only information available to the routine is the sender and recipient info so that probably isnt suitable for your purposes.
    Another method of header manipulation in IMS is channel header option files but these should be used with caution and will only operate on "known" headers and as a result are probably not of too much use to you either.
    The conversion channel does have access to the original message headers http://docs.iplanet.com/docs/manuals/messaging/ims52/rm/mta_conf.htm#1044412
    but Im afraid I cant point you at an example of where it has been used like this - perhaps someone else can.
    WRT moving the message to the top of the message list - I presume this is from the clients perspective - How did you accomplish this in NMS as message views and sorting are almost exclusively a client responsibility ?
    Also have you looked at the ENS service available with IMS?
    Sorry I cant offer anything more than that but without knowing what functions your previous SMTP plugin performed its a bit difficult.
    Ciaran

  • How to uploading custom document instance with content

    What's the best (easiest) way to upload the content and attributes of an instance of a custom document from a JSP? For example a subclass of Document with extra attributes? The bit I am finding tricky is how to deal with the content part. There are some nice examples of custom docs without content in the iFS documentation, and an example of uploading content for a standard document, using the putDocument method of IfsFileSystem, but neither of these are quite what I want.
    Any suggestions or references to gratefully received.
    Bill Roberts

    Joyce - thanks for your advice and time. I have got that to work - what I didn't realise was that you have to upload the content first, then refer to it in the XML upload for the custom document. I haven't seen anything that explains what you just told me in the documentation and it seems quite a fundamental thing. Is there something I've missed? Perhaps you could pass on a comment to the iFS documentation guys at Oracle.
    A supplementary question: to create custom doc instances via Java, I understand that I need to create a document definition first. Which method do I use to set content in that case (given that the content file will originate on a client machine, not on the server)?
    Thanks very much
    Bill

  • Oracle Content Services + BPEL for Human Workflow

    Greetings,
    I'm new to Oracle Collaboration Suite and BPEL. I'm starting to work with this technologies.
    My goal is to develop some custom human workflow using Oracle Content Services 10.1.2.3.0 and BPEL.
    Regarding software versions, some doubts arise ... I'm using Collaboration Suite 10.1.2.
    - Which version of SOA Suite (10.1.2 or 10.1.3.1) and BPEL are recomended to work with content services 10.1.2.3.0 ?
    Thanks,

    The certified version for Content DB/Content Services 10.1.2.3 is 10.1.2 of BPEL.
    Ravikiran

  • Classloading issues with Oracle AS 10.1.3.3 and Content Services 10.1.2.3

    Hi,
    Installed
    Oracle Content Services 10.1.2.3 and Oracle AS (SOA Suite) 10.1.3.3.
    Goal
    Deploying custom webservices on the Oracle AS which invoke the Content Services webservices API. These custom webservices are invoked from ESB processes to upload content.
    What does work
    The pre-installed oc4j home of Oracle AS 10.1.3.3 has no pre-defined shared library for Oracle Content Services. So if we create a shared library containing the Oracle Content Services 10.1.2.3 jars (axis.jar, commons-discovery-0.2.jar, commons-logging-1.0.3.jar, content-ws-client.jar, http_client.jar and wsdl4j-1.5.1.jar) and include this shared library during deployment of our custom webservices, content is nicely uploaded without problems.
    Problem
    However, we created another oc4j instance (oc4j_services) on which these webservices should deployed and run instead of the oc4j home instance. This time Oracle AS already creates a pre-defined shared library for Content Services containing a 10.1.3 version. This library is not compatible with Content Services 10.1.2.3.
    We tried to create another shared library with the same name (oracle.ifs.client) but another version number (10.1.2.3) and import it during deployment of our webservices (and exclude the 10.1.3 version), we also placed the Content Services 10.1.2.3 jars into the oc4j home applib and oc4j_services applib directory. Nonetheless, we either get a classnotfound or exceptioninitialization error.
    Anyone has a solution to this?
    Regards, Ronald

    The log file shows:
    ERROR [AJPRequestHandler-RMICallHandler-6]: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.ifs.fdk.RemoteLoginManagerServiceLocator
         Dependent class: oracle.ifs.examples.ws.WsConnection
         Loader: FAC_WS_Content_Services.root:0.0.0
         Code-Source: /oracle/as_soa/j2ee/oc4j_services/applications/FAC_WS_Content_Services/FAC_WS_Content_Services.jar
         Configuration: <ejb> in /oracle/as_soa/j2ee/oc4j_services/applications/FAC_WS_Content_Services
    The missing class is available from the following locations:
         1. Code-Source: /oracle/as_soa/j2ee/oc4j_services/shared-lib/oracle.ifs.client/10.1.2.3.0/content-ws-client.jar (from <code-source> in /oracle/as_soa/j2ee/oc4j_services/config/server.xml)
         This code-source is available in loader oracle.ifs.client:10.1.2.3.0. This shared-library can be imported by the "FAC_WS_Content_Services" application.
    But, if I select the shared library in Oracle AS EM, it states that my application (FAC_WS_Content_Services) does import this shared library.
    Regards, Ronald

  • Custom SharePoint Master Page with Content Editor Web Part.

    Hi All,
    I have created a custom SharePoint Master Page to apply within my SharePoint Site and it was a success.
    When I want to add the content I have to use the script editor web part and add HTML snippets. Then the styles will reflect correctly. But when I use content editor web part some of the styles do not reflect. Lets assume that if I want to add a H2 with the
    custom color, the color do not show in the ribbon. And how SharePoint know that this is an <h2> and reflect the other styles like padding, margin and so on.
    Please can someone help me to solve this.
    Thanks and regards,
    Chiranthaka

    Hi,
    From your description, my understanding is that you want to add CSS code in your customized Master Page with content editor web part.
    I tested your issue in SharePoint Designer, and I added CSS code successfully.
    I accomplish your requirement with steps below:
    Add a content editor web part in a list and add some CSS code in the web part.
    Open SharePoint Designer, enter the master page.
    Insert a content editor web part under INSERT tab in the Ribbon.
    Open the list that have edited in step1 in the SharePoint Designer.
    Copy code from the list to the Master Page as the screenshot below.
    The screenshot below is my result:
    In addition, why do not you add CSS code just with <style> tag in your page? Just add CSS code as below(in this method, you do not need any web part.):
    <style>
    h2{
    background-color:green;
    </style>
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to attach event to custome workflow object ?

    Hi Guys,
    Could someone help me on how to raise event while creating custom workflow object.We can attach event to object in transaction swe2 . I would like to know how to create that event. Could some send sample custom workflow object with events.
    Many thanks in advance.
    Cheers,
    Garrick.

    Here's an example  using Business object BUS2080  Service notification
    I delegated ZBUS2080 to BUS2080 (service notification).  Added 2 Events REASSIGNED and MODIFIED.
    Use transaction SWO1 for manipulating business objects.
    The User performs an action on a service notification  (IW52) say PUT IN SERVICE AGAIN.
    When the user puts the service notification in service again the event triggered will start a (user defined) workflow which makes a call to a method in the business object ZBUS2080 which launches a batch job.
    This batch job creates our user event REASSIGNED which in turn calls a new workflow to be executed.
    This workflow performs the action I want -- in this case to re-assign the service notification to a new person, send an email and escalate the deadlines
    Code samples are shown below.
    So here's how it works.
    First you need to set up some entries with table SWE2. I've assumed you've already defined the events to the Business object(s) you want to use.
    In SWE2 define entries for BUS2080 (or ZBUS2080) For Events INPROCESSAGAIN and (our event) REASSIGNED.
    IN SWE2 define the receiver call as a FUNCTION MODULE
    For the receiver function modules  for the SAP event (INPROCESSAGAIN) define the receiver module as SWW_WI_CREATE_VIA_EVENT
    For the event REASSIGNED define the receiver module as SWW_WI_CREATE_VIA_EVENT_IBF.
    I have no idea whatwhat the difference is between the two but the process works when it's done like this.
    Ensure the linkage Activated box is clicked in both cases.
    Put your workflow numbers in the RECEIVER TYPE in SWE2 table.
    In the first workflow when the user puts the service notification in service ensure your workflow starts a batch job which raises another event
    Note : You need to instantiate the object (I.e supply the key) to trigger the event correctly. The key is obtained from the WF and will be in the container anyway.
    You can do this by adding this type of function module into the method of the business object you want to execute during the first workflow. The code here creates a batch job which submits the EVENT creating program.
    function z_create_event_for_cs.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(OBJECT_KEY) LIKE  SWOTOBJID-OBJKEY
    *"     REFERENCE(W_REASON) LIKE  HRPXXXX-DUMMY
    *"     REFERENCE(W_ESCLEVEL) LIKE  HRPXXXX-DUMMY
    Create Batch job to run ZZREASSIGNCS
    which creates event REASSIGNED in Customer query workflow.
    data: jobnr like tbtcjob-jobcount,
          jobname like tbtcjob-jobname,
          pgmname  like sy-repid,
          w_key like viqmel-qmnum,
          w_code type c,
          w_num  type c.
          w_num = w_esclevel.
          jobname = 'CREATEEVENT'.
        pgmname = 'ZZREASSIGNCS'.
    call function 'JOB_OPEN'
      exporting
        jobname                = jobname
    importing
       jobcount               =  jobnr
    CHANGING
      RET                    =
      exceptions
       cant_create_job        = 1
       invalid_job_data       = 2
       jobname_missing        = 3
       others                 = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
      input =  object_key
      importing
      output = w_key.
    w_code = w_reason.
    if w_code = ' '.
    w_code = 'Z'.
    endif.
    submit zzreassigncs
    with p_key = w_key
      with p_escl = w_code
      with p_escnum = w_num
      via job jobname number jobnr
      and return.
    call function 'JOB_CLOSE'
      exporting
         jobcount                          = jobnr
         jobname                           = jobname
       strtimmed                         = 'X'
      exceptions
        cant_start_immediate              = 1
       invalid_startdate                 = 2
       jobname_missing                   = 3
       job_close_failed                  = 4
       job_nosteps                       = 5
       job_notex                         = 6
       lock_failed                       = 7
       invalid_target                    = 8
       others                            = 9
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endfunction.
    For the actual program which creates the event  use something like this
    program zzreassigncs.
    This program creates an event REASSIGN
    This triggers a "clone" of the initial customer query workflow
    which is now marked as completed.
    The deadline and escalation level from the original workflow
    should be passed to the new workflow via the event container
    Program is submitted from the original workflow
    Ensure transaction SWE2 has the event REASSIGN for bus object BUS2080
    defined or the WF won't start even if the event is raised correctly
    As this program is run as a background / batch task
    you need to obtain the relevant notification number and pass it
    as a parameter.
    When run from the WF the you can get the notification number obtained
    from the workflow / task  container.
    include <cntn01>.   "For WF macros.
    parameters: p_key like swotobjid-objkey,  "Service notification number
                p_escl type c,
                p_escnum type c.
    constants: c_event    like swetypecou-event   value 'REASSIGNED',
               c_attrib   like swotra-attribute   value 'USRSTATUS',
               c_object   like swetypecou-objtype value 'BUS2080'.
    data:     w_object like swotobjid,
              w_stat     like  tj30t-txt04.
    data: rc like sy-subrc.
    data: begin of event_cont occurs 0.
          include structure swr_cont.
    data: end of event_cont.
    data: begin of return.
      include structure swotreturn.
    data end of return.
    if running from WF rather than a batch job
    swc_container container.
    swc_get_element container  'Znumber' p_key.
    w_object-objkey = p_key.
    w_object-objtype = 'BUS2080'.
    call function 'SWO_PROPERTY_GET'
    exporting
        object                = w_object
        attribute             = c_attrib
      changing
        value                 =  return.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    w_stat = return(4).
    event_cont-element = 'Status'.
    event_cont-value = w_stat.
    append  event_cont.
    event_cont-element = 'Escalated'.
    event_cont-value = p_escl.
    append event_cont.
    event_cont-element = 'Escalation'.
    event_cont-value = p_escnum.
    append event_cont.
    Note WAPI calls only valid from rel 6.1 using Webflow engine
    (part of standard WF since rel 6.1)
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE           =   w_object-objtype
        OBJECT_KEY            =   w_object-objkey
        EVENT                 =   'REASSIGNED'
      IMPORTING
       RETURN_CODE           =  rc
      EVENT_ID              =
    TABLES
       INPUT_CONTAINER       =  event_cont.
    if rc <> 0.   "Houston ---We have a problem !! '
      write: text-002 color col_negative.
      exit.
    endif.
    even though no database / table is updated here by the event
    we still need the commit work to initiate the event correctly
    commit work.
    You CAN use Objects (OO ABAP) but if you are fairly new to this sort of stuff just stick with standard BOR (Business objects) to parctice on until you've got the hang of the process.
    It's actually a lot simpler than most people realize --which is why WF consultants get paid decently !!!!.
    Cheers
    Jimbo

  • Is Content Services the right tool?

    Hi all.
    I'm investigating the features of Content Services and I have a couple of (hopefully simple) questions.
    1) Can I install / use / license Content Services WITHOUT OCS?
    2) One of the requirements I have to meet is document locking and versioning. IOW, when one user opens (eg. via Oracle Drive) or downloads (via browser) a document, this should be locked (nobody else can download/edit it) until the user closes it or uploads a new version. Can I do that with Content Services? Do I have to use the CM SDK?
    TIA for you help.
    Alessandro

    Thanks for your QUICK reply!
    You can license just Content Services without the
    rest of OCS.And is there a separate download I can grab somewhere (provided I already have AS 10g installed)?
    Are you sure you want to lock documents whenever a
    document is opened? How will the documents get
    unlocked? Can you tell me what your use
    case/business requirement is?
    Content Services supports a user getting exclusive
    access to a document via explicit locks as well as
    check-out (when versioning is enabled).I have to build an Intranet site (probably using Portal). One section should allow people to upload docs (no problem here) and to UPDATE them (creating new versions). But the customer has requested that each doc can be modified only by one person at a time (that is, the other users will see the doc as "read-only" until the update is done or cancelled).
    AFAIK, this isn't possibile with Portal alone (but I can be wrong), so I was thinking to somehow "integrate" some features of Content Services into Portal, eventually writing a custom app, if needed.
    Thanks again for your assistance.
    Alessandro

  • Standard or Custom workflow

    Guys & Gals,
    How would you find out if a given workflow is a standard or custom workflow.
    Thanks for advice in advance.
    Warm Regards
    Raaj

    Hi Raj,
    The main difference is seen by the workflow number.
    Standard workflows start with numbers like 1,2 etc...
    e.g: WS14000002
    Custom workflows start with the prefix set by the basis team in SWU3 configuration.
    The prefixs generally start with 8 or 9, so any worklfow starting with WS8 or WS9 would be a custom workflow.
    eg: WS95100010
    Hope this helps!
    Regards,
    Saumya

  • Cluster and Content services

    Hi,
        In our environment, we have two nodes in a cluster with Content services runnin on both the cluster nodes.
         One of the process, which is configured to have watched folder end point. This process reads the document from watched folder and stores the same
         in specified content space structure.  When it is stored in content space we store the node id of the same for future reference.
         Now we have run into a situation where content from watched folder is read by Cluster Node A and stored it in Content Space under content services
    running on Cluster Node A. Now say after 5 mins we need to retrieve the same content but this time the process to read the content from content space runs on Node B.
      Content is read using retrieveContent service by passing node id which we have stored earlier but some reason it is not able to find the content.
    Does Livecycle automatically synchronises the cluster nodes for content and how often does it happen?
    Any suggestion on how to get around this issue.
    Regards,
    Vik

    For content services in cluster, content is stored at a shared location which can be accessed by each node. Only indexes for this content is synchronized across cluster nodes. Please make sure that content storage root directory is a shared and accessible location for all nodes in the cluster.
    Could you please perform a quick test?
    1. Go to http://node1:port/contentspace and add a content here.
    2. Now go to http://node2:port/contentspace and verify that you can see the content added.
    Thanks,
    Pankaj Parashar

  • OOTB Approval Workflow for a Content Type sends emails for 2 content types

    My environment: SP 2013 Server (WFE-APP) + SQL
    I have a few Content Types configured in a document library. Every content type has an OOTB approval workflow to fire an e-mail to the approver on each new/edit.
    When I create a new file for testing, it first becomes checked out with no properties added. I then edit the properties to specify its content type and other fields. When I check in the document, SharePoint sends out an e-mail to the approver for that content
    type which is correct. What SharePoint also does for this very same file is sends out an approval request e-mail for the default content type for that library which is something else than a desired content type.
    This is something I cannot understand. I thought that the workflows start on a file 'Check in'. If I check in a file that is a certain content type, why does the approval for a default content type for a library trigger as well? 

    Hi,
    Is it SharePoint 2013 workflow or previous 2010 model workflow? If it's SharePoint 2013, how are you associating workflow to content type. As per
    MSDN "Unlike previous versions, SharePoint 2013 does not support workflows that are scoped to a
    content type. However, the messaging infrastructure is extensible, so it can support
    any arbitrary scope. As a developer, you can set to", workflow association with content type (which was possible in SharePiont 2010) is no longer available out of the box. You need to do it manually, (not sure how as there's no documentation yet
    from MS) and programmatically.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Problem getting custom workflow to work with BPEL Worklist

    I am currently working through the DocumentReviewWorklow custom workflow example in the Oracle Content Services 10g Custom Workflows document and cannot get the workflow to prompt approvers through the BPEL Worklist application that an action must be taken.
    When I run the workflow, the process gets to the point of calling the TaskActionHandler and the approver is told that a process is pending their approval in the Content Services Console.
    The following appears in the BPEL Process Manager when I Audit the workflow:
    onMessage (137) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskSuspended".
    onMessage (126) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskUpdated".
    onMessage (118) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskErrored".
    onMessage (110) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskWithdrawn".
    onMessage (102) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskCompleted".
    onAlarm (161) - pending
    [2006/03/20 08:57:42] Alarm started. Alarm will go off at time "2006/03/22 08:57:42".
    onAlarm (156) - pending
    [2006/03/20 08:57:42] Alarm started. Alarm will go off at time "never".
    onAlarm (151) - pending
    [2006/03/20 08:57:42] Alarm started. Alarm will go off at time "never".
    After a period of time, the workflow eventually times-out because it is neither approved or disapproved. I have got the other non-blocking custom workflow examples to work without any problems.

    Thanks bnainani, you solved my problem!
    Despite the fact that the approver's username is in the Oracle Collabortion Suite OID as all lower case letters (and you can still login to worklist with lower case letters), you were right in saying that you have to use all upper case letters when logging into the worklist application in order to see the pending tasks.
    Just out of curiousity, do you have any idea why worklist requires upper case letters for the username?
    Message was edited by:
    middaymag
    Message was edited by:
    middaymag

  • Custom Workflow - BPEL - delete registered policies

    Hi all,
    I am trying to set up a custom workflow with the Oracle Beehive Custom Workflow Tutorial.
    After some difficulties I finally succeeded in deploying the BPEL-process. Only the integration with beehive does not (yet ;-)) work correctly.
    I need to redeploy the policy, since I would like to change the triggering eventtype. My first trial was to just add the policy once again - but it failed with 'A policy with the same name already exists.' Now I was trying to delete the policy - but that failed with 'No entity found the the given bodn'. 'Beectl list_policies' does not show my policy.
    How can I ever delete or lookup my registered policies?
    Thanks for any help.
    Regards,
    Bettina

    Hi Nickw..,
    Sorry for the multiple repeated updates... it happened because of the slow internet connection
    I am able to get the Worklist task now, but only for the CAPS lettered Users..!!
    The Audit section in the BPEL Console for this process looks like:
    <NAME>IFS_MESSAGE_SUBJECT</NAME>
    <VALUE>Checkout Request 88731 submitted in Content Services</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_REJECT_MSG</NAME>
    <VALUE>Choose <B>No</B> to Reject the request.</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_ECM_WORKFLOW_OWNER</NAME>
    <VALUE>ORCLADMIN</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_MESSAGE_HEADER</NAME>
    <VALUE>A Checkout Request has been submitted in Content Services. You are listed as a responder for this request. Your response is requested. <BR><BR>Request Details:<BR><BR><B> Requester </B> : ORCLADMIN<BR><B> Responders </B> : PRASANT PRASANT1 <BR><BR> For complete request details click here</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    1. I am able to get the heading the IFS_MESSAGE_SUBJECT as Checkout Request 88731 submitted in Content Services
    2. But nowhere i can find the IFS_MESSAGE_HEADER in the Worklist screen
    the following:
    For complete request details click here</VALUE>
    Where will be the issue..?
    Thanks in advance....
    and best regards,
    Prasant

Maybe you are looking for