Custom Workflows in ContentDB (OCS 10.1.2.3.0)

Hi,
One of our clients is doing couple of enhancements to their ContentDB system. As part of this enhancement, I'm looking for a better understanding about how Parallel-Vote works internally and would really appreciate if you could direct me to some pointers for the same. Please find below details on the Scenario/Requirement that I'm implementing.
Scenario
Before a document can be moved into Folder-X in ContentDB, it goes through a parallel-vote approval process. For this, we have defined a Parallel-Vote-Custom-Workflow on Folder-X (this gets triggered off on the "Move" event on Folder-X).
As a result of this, whenever a document is moved into Folder-X, an approval request is raised - and an authorized person needs to approve it.
Requirement
1. When this document is approved to be placed into Folder-X, they want the same document to be copied into another folder "Folder-Y" as well.
2. The approval request title has the format "Move Request for Document-A". The request-title needs to be tweaked to just say "Document-A" without the rest of the message. (Its a nice-to-have feature)
To implement these, I'm trying to understand how Parallel-Vote is internally implemented in ContentDB. Is this internally implemented using a BPEL process? I checked the Custom Workflows defined in OEM and could not find Parallel/Serial Vote listed among them. So am just trying to find out, is there a way I can get a hook to the approval process happening internally so that I can implement the above requirements.
Thanks
Antony

We've done it on a seperate AS 10.1.2.0.2, it works and i'ts normally a supported configuraiton. Of course you will also need an OCS database to store ocs data.

Similar Messages

  • Invoking Custom BPEL Workflow from ContentDB DocumentReviewWorkflow

    Hi,
    I am trying to invoke Custom BPEL Workflow from Contentdb.
    I can see TaskActionHandler and DocumentReviewWorkflow instance created in BPEL using BPELConsole. This workflow is waiting for approval.
    When I am login to worklist application I can not see task assign to me.
    Also I can see from database that Messages not read by BPEL Process Manager.i.e I can see rows in IFS_BPEL_OUT_TABLE
    After restarting BPEL P.M those data is still there.
    How to resolve this?
    Thanks,
    Jigar

    Jigar
    This sounds like two separate issues with the 10.1.2.0.2 BPEL PM.
    First, I had a problem with the BPEL process manager not consuming the AQ messages sitting in the IFSQUEUE. In order to consume the messages, I had to redeploy the BPEL process. This sounds like your first issue.
    The second issue is the case sensitivity within the worklist application. There is a patch for this #4962149. The patch did not work entirely for our environment and I opened up a separate bug but there was never a fix supplied by the development group.
    Good luck.
    Nick

  • Custom Workflow using Oracle Workflow in ContentDB

    Hi,
    Could we use custom workflow which is made using Oracle Workflow instead of BPEL.
    Regards,
    Yulisar

    Having registered custom workflows for Content DB via Enterprise Manager, potentially you can use any tool capable of dequeuing/enqueing messages from the IFS_BPEL_OUT/IFS_BPEL_IN advanced queues as part of a custom workflow process.
    By default, we assume you are using Oracle BPEL PM with its Advanced Queue adapater to process the queue messages. However, there is nothing stopping using Oracle Workflow or any tool for that matter.
    HOWEVER!!! Warning!!! There is a high probability that Content DB will drop the bundled Oracle Worflow installation in the near future. What this means, is that you should consider installing/configure/patching your own separate Oracle Workflow installation and not rely on the bundled Content DB solution which is used internally for Serial and Parallel Approval workflows.
    thanks,
    Matt.

  • Reading values from lookup columns through custom workflow in SharePoint 2013

    We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
    Thanks & regards,
    Aditya

    Hi,
    According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
    Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
    For more information, you can refer to:
    SharePoint 2013 Workflows and Lookup Columns
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Open url link in custom workflow. SharepPoint 2010

    Hi, i created custom workflow in Visual studio 2010. I want my workflow opened page of the site. In workflow i using method - Process.strart("http:\\mysite\myform.aspx") try to open the page. But my workflow is completed after his the start.
    Browser does not open the page i have. Can you please tell me how best to do to open up the site url in the workflow code. Thanks.

    I don't think you can.  Workflows run in a background thread on the server, so even if you were able to open a web page it would open on the server, not the client.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?

    Hellos.
    I have tried and failed to add my custom.dll into the Windows Server 2012  GAC.
    We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added my assembly.
    I cannot find gacutil.exe on the Windows 2012 Server.
    I have downloaded and installed Windows SDK for Windows 8. However, when I try the gacutil.exe /i <myCustom.dll> nothing seems to happen.
    Are there any guidelines how to add custom workflow activities to FIM when installed on a Windows Server 2012 system?
    TIA
    *HH

    Well yes. It is fine when FIM is hosted on Windows Server 2008 R2.My difficulty is that I am using FIM 2010 R2 Sp1 and Windows Server 2012. No GACutility executable.
    However, the problem has been resolved. Powershell can be used to modify the assemblies.
    I opened a RunAs Administrator PS session. My assembly is in folder c:\Temp
    Using Windows Explorer I browsed the folder c:\windows\assembly and noted the System.EnterpriseServices entries: version (2.0.0.0) and public key token (b03f5f7f11d50a3a)
    (My version is 2.0.0.0 because when installing FIM and SharePoint 2013 the instructions I used suggested setting .Net version to be 2.0)
    These powershell commands got me going...
    PS C:\temp> [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
    GAC    Version        Location
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50...
    PS C:\temp> $publish = New-Object System.EnterpriseServices.Internal.Publish
    PS C:\temp> $publish.GacInstall("c:\temp\RunPowershellLibrary.dll")
    PS C:\temp>
    PS C:\temp>
    PS C:\temp> iisreset
    Amazingly I can see the assembly RunPowershellLibrary in my Windows 2012 GAC. :-)
    Also, what is more cheering is that the custom activity actually works with FIM 2010 R2 Sp1.

  • How to create a Language Branch using custom workflow?

    Hi,
    I’ve a requirement where I need to create a workflow process which will create a Language branch.  i.e I wanted to achieve the functionality using custom workflow as given in the docs: https://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html#Managing the Translation of your Language Branches 
    As per the OOTB functionality,
    1.     If the target page is not exist in the Language branch, it will copy the reference page to target path.
    2.     If the target page is already exists, it will not create a copy of the reference.           
    After the translation, if we make any changes in the reference page and activate the reference, then we have a button called 'Show side by Side' under Translation in the side kick which shows differences between reference page and translated page.
    Example:
    So, I would like know how we can achieve this in my custom workflow process. In my workflow process, I’m checking whether the page is existed in the target path or not. If not exist, I used page copy.
    Eg: Page page = newPage.copy(originalPage,targetPath+"/"+originalPageName,null,true,true );
    When I use above api, it just copies the page and it will not maintain any relation with reference page.
    Any pointers would be more helpful.
    Thanks
    Siva

    Hi,
    I have a similar request to export the texts from one language and after the translation to import them to the new language, did you find any solution? My question is how can I add some steps into my workflow to validate the imported data -and if the user validate the texts then proceed with next step(in my case I import the text from a file and generate a form with values). I read the documentation from Adobe but I didn't find anything related to how we can add a workflow to a dynamically generated from(I don't use the CQ form component).
    Can anybody help me with this?
    Thx, Lorand

  • How to ignore the password policy in a custom workflow?

    Hi,
    We have a custom workflow which is called via SPML to provide 'Administrator Change Password' functionality in a portal.
    Our password policy sets the String Quality rules and Number of Previous Passwords that Cannot be Reused. But we like to bypass the password policy when the password administrators (who have a admin role with a capability - 'Change Password Administrator'). At least, restriction ' Number of Previous Passwords that Cannot be Reused' need to be ignored (But password need to be added to the history... cannot disable adding passwords to history).
    Please advice me how it could be achieved?
    The workflow steps:
    1. Checkout 'ChangeUserPassword' view for the user as an administrator
    2. Set the new password in the view, set true to view.savePasswordHistory
    3. Set password on the resources
    4.Checkin the view
    Thanks
    Siva

    Thanks eTech.
    My main goal is to skip the password history check (new password can't be a last used 10 passwords) when admin change password workflow is launched. As you suggested , I created a special password policy exactly as our regular password policy excluding "Number of Previous Passwords that Cannot be Reused" setting.
    Then before change the password of a user as admin, special policy is attached , password changed, and user's password policy is reverted back to regular one. The issue is, as the special policy does not enforce the password history check, the whole password history of the user is wiped out from the user object when the password is changed by admin change password workflow. We don't want this to happen.
    Please guide me whether is anyway to achieve just ignoring the password history without any other impact on user.
    Is adding passwords to user object's password history list is triggered by "Number of Previous Passwords that Cannot be Reused" setting of the password policy??
    Thanks
    Siva

  • Possible to fill a list using a custom Workflow in Sharepoint 2013

    Is it possible to develop a custom workflow that compares a Contact List and the Active Directory and add any missing people to the list? Or is this a functionality not available with workflows and sharepoint 2013?

    Instead of workflow you can do this,
    Have user profile service application set up ,which will run on daily basis by default(you can configure to run Hourly/Minutely also) to import all users along with user attributes(email, department ..etc) to SharePoint. Configuring  UPS :
    http://blog.anuragg.com/2012/12/configure-user-profile-service.html
    Create an item added event receiver on your "Contacts" list ,build business logic to fetch the corresponding  user details from the above synced user profile properties. Retrieving User profile properties :
    http://msdn.microsoft.com/en-us/library/office/jj163182(v=office.15).aspx
    Please remember to click Mark as Answer on the answer if it helps you

  • Can nested IIf be created in custom workflow (in Designer)?

    I need to explore building a custom workflow in Designer that will allow me to update a hidden field in the list.  Is it possible for me to recreate the nested IIf statement I have written below?  I'm not seeing how to do get an AND operator in
    the workflow designer, nor the nested concept.
    TypeOfChange: IIf([status]="active",
    IIf([program type]="p", "Primaries Approved",
    IIf([program type]="o", "Options Approved",
    IIf([program type]="R" Or [award]="AAS-T", "AAS-T Programs Registered",
    IIf([apprentice]="a", "Apprenticeships Registered",
    IIf([contract]="c", "Contracts Approved",
    IIf([College Report Categories]![title]="collaborations", "Collaborations Registered",
    IIf([Indiv Program Students] is Not Null, “Individualized Programs”,
    IIf([program type]="st","ST Programs Registered")))))))),
    IIf([status]="Title changed", "Titles Changed",
    IIf([status]="removed",
    IIf([program type]="p", "Primaries Deleted",
    IIf([program type]="o", "Options Deleted",
    IIf([program type]="st", "ST Deleted"))),
    IIf([status]="Inactive",
    IIf([program type]="p", "Inactive Primaries",
    IIf([program type]="o", "Inactive Options")), 
    IIf([status]="Reinstated", "Reinstated Programs",
    IIf([status]="Pending", "Pending Requests",
    IIf([status]="NoI Review", "NoI Review Period",
    IIf([status]="Modified", "Curriculum Modifications",""))))))))
    There are no mistakes; every result tells you something of value about what you are trying to accomplish.

    Hi run4it,
    When add multiple compare conditions in workflow condition, it will show the operator AND, then you can try disigning the logic of if else branch sentenses as Andy suggested.
    Thanks,
    Daniel Yang
    Forum Support
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Sharepoint 2010, InfoPath 2010 with Custom Workflow. Error Message: InfoPath cannot submit the form. An error occured while form was submitted...

    I have created an InfoPath form that submits to a Sharepoint library with custom workflow attached. The workflow is initiated when the user submits the form. An email is sent to the supervisor who clicks the "Encoded Absolute URL" and approved
    the form via the emailed form. Then, based on certain criteria the form is either emailed to the VP or the workflow is complete. The VP is sent an email and clicks the "Encoded Absolute URL" and sumbits the form via the emailed form. This is
    how I would like it to work. The reality is, the form submits and is emailed to the supervisor and the supervisor is able to approve but when the form is sumbitted I get an error. The error is "InfoPath cannot submit the form. An error occured while
    this form was being submitted. The form cannot be submitted to the following location: <URL> The file <URL> is checked out for editing by <me> The operation completed successfully." The operation did not complete successfully and it
    is not checked out. I have read in previous posts that the file is locked. Since I am in the testing faze of the project there is no one else using the form. I have waited 24 hours and the lock has not been released. Please help!!! My deadline is growing short.

    I ran into your post while having a similar issue.  I don't have a 'full' fix for you, but I noticed at least in our case if you made sure you opened the Infopath form through the browser instead of the client Infopath program (use the drop-down menu
    and open in browser) the error doesn't occur.  Hope that helps some....

  • Creation of system object for customized workflow

    Hi Experts,
    I am required to define a System Object with system alias, for creation of UWL to trigger Customized work flow's.
    What WAS properties and Connection Properties and ITS Properties i should maintain in newly created System Object?
    how do create UWL so that it triggers Customized workflow instead of standard workflow in R/3?
    I have similarly total 3 Customized workflow so do i need to create three UWL's for each one?
    Please help me out!
    Regards,
    Siva

    Hi Shabir,
    I am new to EP can you please let me know how to create custom connector? that triggers three custom developed workflow?
    and Please let me know what parameters to pass to create system object(like WAS Properties,  ITS Properties etc)
    Thanks in advance!
    Regards,
    Siva

  • Issue in a custom workflow with Approval Type Notification. Urgent

    Hi
    I have created a custom workflow which contains an approval notification.
    If the user approves/rejects the notification I need to update a table column as Approved or Rejected.
    I have created a function activity,say X, which calls a PL/SQL procedure.
    The issue is,
    when the user approves or rejects the notification, the function X errors out even without entering the PL/SQL procedure.
    Following is the error message
    An Error occurred in the following Workflow.
    Item Type = XXYH_UMX
    Item Key = 55
    User Key =USERKEY:55
    Error Name = -6502
    Error Message = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Stack =
    Wf_Engine_Util.Function_Call(XXYH_UMX_WF_PKG.is_resp_assigned, XXYH_UMX, 55, 242407, RUN)
    Activity ID = 242407
    Activity Label = XXYH_UMX_ASSIGN_RESPONSIBILITY:XXYH_UMX_RESP_ASSIGNED
    Result Code = #EXCEPTION
    Notification ID =
    Assigned User =
    If I go the function from any other function,say Y, (bypassing approval notification) it works fine.
    Can you please help me what could be the issue?
    Thanks,
    Kamath.

    The danger in putting in one activity is that if there is any scope longer-term to expand the process to multiple activities, then it may be better to break it out into a sub-process early in the design phase.
    Generally, you get the feeling from the client fairly early on about whether they have a final design and how likely they are to complicate the process later on :)
    I wouldn't include it as a post notification function myself - it saves a tiny amount of processing time and database space, but at the cost of making it less clear what is happening. Plus you'd need to check the result in the PNF manually - putting it on a conditional branch ensures that you always know what the value is. If the lookup type changes at any stage, you would need to check a PNF to ensure that the code still remains valid; if it's on a branch then the only thing to change would be to change the label on the branch.
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Issue with retrieveing the Manager of a System User in a Custom workflow - CRM 2013

    Issues with custom workflow activity in CRM 2013 On-prem
    I'm trying to pass the Manager of the System
    here is the code that I'm running, it gets to setting the MANAGER and stops
    I put the ran the FetchXML seperatly and it does return a value so I know what bit works
    public class CaseAccountManagerManagersLookup : CodeActivity
    // Inputs
    [Input("Enter Case")]
    [ReferenceTarget("incident")]
    public InArgument<EntityReference> CA { get; set; }
    // Outputs
    [Output("Manager Output")]
    [ReferenceTarget("systemuser")]
    public OutArgument<EntityReference> AMOUT { get; set; }
    protected override void Execute(CodeActivityContext executionContext)
    // Context
    IWorkflowContext context = executionContext.GetExtension<IWorkflowContext>();
    IOrganizationServiceFactory serviceFactory = executionContext.GetExtension<IOrganizationServiceFactory>();
    IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
    //Create the tracing service
    ITracingService tracingService = executionContext.GetExtension<ITracingService>();
    // get the account and renewals manager ID's
    var CASE = CA.Get<EntityReference>(executionContext);
    tracingService.Trace("Case ID = " + CASE.Id);
    try
    // FETCH
    string fetchXml = string.Format(@"
    <fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>
    <entity name='incident'>
    <attribute name='title' />
    <attribute name='incidentid' />
    <order attribute='title' descending='false' />
    <filter type='and'>
    <condition attribute='incidentid' operator='eq' value='{0}' />
    </filter>
    <link-entity name='contact' from='contactid' to='customerid' alias='ak'>
    <link-entity name='account' from='accountid' to='parentcustomerid' alias='al'>
    <link-entity name='systemuser' from='systemuserid' to='bc_dssalesperson' alias='am'>
    <attribute name='parentsystemuserid' />
    </link-entity>
    </link-entity>
    </link-entity>
    </entity>
    </fetch>", CASE.Id);
    EntityCollection case_results = service.RetrieveMultiple(new FetchExpression(fetchXml));
    //tracingService.Trace("fetch has run");
    if (case_results.Entities.Count != 0)
    foreach (var a in case_results.Entities)
    //if (a.Attributes.Contains("ai_parentsystemuserid"))
    tracingService.Trace("set manager id next");
    var MANAGERID = (EntityReference)a.Attributes["parentsystemuserid"];
    tracingService.Trace("manager id set");
    AMOUT.Set(executionContext, MANAGERID);
    throw new InvalidOperationException("Want to see trace");
    tracingService.Trace("end ");
    catch (Exception e)
    throw new InvalidPluginExecutionException("Plugin - CaseAccountManagerManagerLookup - " + e.Message);
    finally
    throw new InvalidOperationException("Want to see trace");
    Pete

    Hello,
    Try to use am.parentsystemuserid instead of just parentsystemuserid.
    Dynamics CRM MVP/ Technical Evangelist at
    SlickData LLC
    My blog

  • How to register custom workflow in oracle apps ?

    Hello
    I am new to workflow. I have customized an oracle standard workflow and now i want to register this custom one. Please help how to register the custom workflow. What steps need to achieve this.
    Thanks

    Hi,
    You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
    Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

Maybe you are looking for

  • Proximity Sensor locks touch screen

    Hello, I got a Z1C, the screen broke and I replaced it with a new funcioning one, but the problem is that whenever the proximity sensor notices that something (ear, hand, pocket) is closing in on it it does its function of locking the touch screen bu

  • Using ibook as pilot monitor

    Can a G4 ibook be used as a pilot monitor - in other words, display the desktop on ibook and then open a programme like Word and display it on an extrenal monitor whilst still being able to see the desktop on the ibook screen?

  • Raytracing 3d not visible in final rendering via AME

    I used the 3D rendering function to create an extrusion of a vactor form. This all works fine except when I send this over to the Adobe Media Encoder its just ignoring the Raytracing and only rendering the outlines. Does anybody know how to fix this?

  • Corrupted Search For Samples and Hidden Garage Band Samples

    in logic if you go to garage band instruments, strings and select basses staccato, it searches for the wrong samples for the instrument. how do i clear what ever searches for exs and garage band samples in logc? also those physical samples used in th

  • HR: find function in schema

    after upgrade 4.6 to Ecc6 ,in HR, i want to find out which function belong to which schema ,is there any data base table which contain that information . bcz some function's parameter is going null and functional consultant unable to find out that,wh