Design for workflow engine...

I'm starting to (re)design a workflow engine and was wondering if there were any design resources/examples/ideas that people might know of that would help.
Essentially the workflow is a simple state machine with user-invoked transitions.
However, it also possesses (multiple) substates and automatic transitions (when certain criteria are met).
The presence of automatic transitions complicates the design slightly but it's still very manageable. The main problem is how to handle the multiple substates of each item without necessarily describing an API for the workflow engine that is bound to the structure of these items (which are basically trees with different node types at each level).
Many thanks in advance!

I use a message passing approach with all troublesome
you mentioned. Hopefully delays are not so significant
but sometimes annoying. Could you elaborate more about
MOAT approach, what is complicity?Let's assume that you're going to maintain all information in a database, with tables holding jobs, tasks, and relationships between tasks. Going to the example of a task completion, you might have to do the following: (1) determine whether dependent tasks can become ready, (2) modify parent status if this is the last child, (3) modify job status if this task is the last in the job, (4) notify external listeners that the task is done.
In the MOAT approach, this all happens within one transaction: you update the task's row, find the rows of all dependents, potentially update them, find the parent, potentially update it, find the job, potentially update it, and then notify the listeners or write some transaction log that will later be read by them. For a typical workflow, you'll probably read a dozen rows from all 3 tables (jobs, tasks, relationships), and update a half dozen. But it's a recursive operation, so you might read a hundred rows or more, and update fifty of them.
The benefit of this approach is that state remains consistent to the user. After a client completes a task, it can immediately work on dependent tasks. The downside is that completing one task takes a non-deterministic and potentially long time.
In the message-passing approach, the completing task simply publishes an event indicating its completion. Execution time from the client perspective is relatively constant.
The central event loop then passes this event onto handlers that perform the related actions (updating dependents &c). As long as you control simultaneous updates to the job (from multiple threads), the server-side code is pretty straightforward.
It's on the client side that things get interesting. Let's say that the client tries to anticipate actions: it knows that when it completes one task, the dependent should be worked on, so it tries to explicitly grab the dependent (rather than use a generic operation like getNextTask()). In this situation, the server may not be done updating the dependent tasks, so they're not ready when the client tries to grab them.

Similar Messages

  • Getting error while publishing workflow using SP designer for SharePoint 2013

    Hi,
    I am try to setup Workflow manager for our sharepoint applications.
    WF manager set ran without any issue.
    I registered the SPWorkflow service which succeeded as well. The Workflow service application shows "Workflow is connected"
    I am creating a workflow using sharepoint designer using my credential (not Service account). I am able to save it but while publishing, its prompting with an error.
    The error says "Errors were found while compiling the workflow.The workflow files were saved but cannot run." Clicking advanced button show
    "Microsoft.SharePoint.SPException: We're sorry, we weren't able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.
       at Microsoft.SharePoint.SPScaleOutDatabaseMap.CreateSqlSession(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid& version)
       at Microsoft.SharePoint.SPScaleOutDatabaseCommandExecutor.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvide"
    Any help would be highly appreciated
    Thanks,

    Hi,
    According to your post, my understanding is that you got error while publishing workflow using SharePoint designer for SharePoint 2013.
    Please check whether the Central Admin > Manage Service Application-> “App Management Service” is started.
    Please check whether the “Configure service application associations”,  ”App Management Service” is already associated.
    Then please check whether the “Manage Services on server” and the “App Management Service” is started.
    In addition, please try to re-register Workflow Service.
    If the issues still exists, please follow the steps in the
    Steps to Verify that Server Is Correctly Set Up. After you verified that the server is correctly set up, follow the steps in the
    Steps to Troubleshoot Workflow Management Service and
    Troubleshooting the Service Bus for Windows Server then retry your action related to publishing workflows
    More information:
    http://wp.ahcheng.com/2013/03/23/error-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
    http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • This workflow cannot be imported because it was created in SharePoint Designer for a different Site

    Hello everyone.  I am getting this error when attempting to move minor workflow changes from mirror SharePoint development / production environments and hoping someone can help me.
    "This workflow cannot be imported because it was created in SharePoint Designer for a different site, or the original workflow has been moved or deleted.  To move a workflow between sites, use Save as Template (.wsp file) instead of a Visio workflow
    drawing."
    So basically I have taken an image of our single SharePoint server, Domain Controller, and a client and restored them to an OFFLINE development environment for the testing of workflow changes prior to production.  I've put quite a bit of time into one
    particularly and would like to export/import rather than re-created from scratch.
    I've successfully created the form template and imported.  This created the necessary list items nicely and the form appears to work as expected.  However, when attempting to import the .VWI file exported from dev SharePoint, I am getting the above
    error.  If I change the .VWI to .zip and remove the "workflow.xoml.wfconfig.xml" file, then re-zip and change the file extension back to .VWI I get a dialog that allows me to import, but I have to choose a new name and much of the related content
    is lost.  I need to be able to overwrite/merge the existing workflow with the import.  Any suggestions?
    One strange thing I ran into was during a test of an export/import from and to the exact same environment. If I simply export to .VWI, then import from .VWI with no changes, SAME everything I still get this error. Very weird. Hoping someone can shed some
    light on the subject. Thank you.
    Adam Tyler

    Hi Adam,
    Here is a blog talk about the same issue would be helpful:
    http://techiescode.blogspot.com/2014/09/copymove-sharepoint-2010-designer.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • SVG to JavaFX code Converter for Designer-Developer-Workflow

    I created an SVG to JavaFX code Converter while working on a project. Although its still a work in progress, it has been so useful for me ever since. Its available at convfx.codebase101.com for anyone that is interested in the Designer-Developer workflow (similar to JavaFX 1.x, which was the inspiration). [url http://www.codebase101.com/convfx/dist/convfx_dl.php]Download
    Hope someone finds it useful.
    Edited by: Burabari55 on Mar 22, 2012 6:41 PM, added download link.

    That is very nice Burabari, thanks for sharing it.

  • Design Decision for Workflow

    Hi all,
    When to go for third party workflow products? and When not to go for third party workflow products?is it still applicable choosing third party workflow products as SP2013 introduced new features for workflow? 
    Regards,
    Swati
    SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.com

    Hi,
    It will depends on the actual requirement.
    “SharePoint Server 2013 brings a major advancement to workflow: enterprise features such as fully declarative authoring, REST and Service Bus messaging, elastic scalability,
    and managed service reliability”.
    http://technet.microsoft.com/en-us/library/jj219638(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/jj227177(v=office.15).aspx
    If you may have some specific requirements, then you can try to do the customization with SharePoint Designer 2013 or Visual Studio 2013, or you can find if there are already
    suitable products.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How we create workflow using sharepoint designer for first review the documnet than go for approve the document.

    Hi to all
    I have team site in site collection under this i have Shared Document library. Now i want to create the workflow for the shared Document library. How i will create workflow using sharepoint designer for first review the documnet than go for approve
    the document.

    Hi ,
    According to your description, my understanding is that you want to create a workflow which contains review and approval process.
    For implemening your requirement, you can create a workflow containing two steps. The first step is used to collect user information and set workflow variables, and the second step is used to verify whether the reviewer approve. If the reviewers complete
    approving, a pproval workflow is started. The whole workflow is like :
    More information, please refer to the links below:
    http://www.documentmanagementworkflowinfo.com/sharepoint-video-tutorials/create-document-review-workflow-sharepoint-designer-2007.htm
    http://office.microsoft.com/en-us/sharepoint-designer-help/watch-this-design-a-document-review-workflow-solution-HA010256417.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to Loop through another list and update a column with SharePoint Designer 2013 Workflow

    Hi,
    I am trying to get my head around the new 2013 Workflow Engine and SharePoint Designer 2013 Workflow Text-Based Designer.
    I have two lists.
    List A has 2 columns: Title, Completed (Yes/No)
    List B has 3 columns: Title, LookupListATitle, Completed (Yes/No)
    All the 2013 Workflow components have been installed and configured and I am selecting the 2013 Workflow option in SPD
    I am trying to set off a 2013 Workflow when an item in List A is edited to Loop through List B and select items where the LookupListATitle column's value is equal to the Title value of the current item, and set the value of the Completed column for those
    items in ListB to "Yes".
    I have the Workflow configured like this:
    Stage: Stage 1
    IF Current Item:Completed equals Yes
    Loop: 1
    The contents of this loop will run repeatedly while: ListB:LookupListATitle equals Current Item: Title
    Update item in ListB. 
    (The dialog options for the update item action as follows:
    List: ListB
    Field: Completed, Value: Yes
    In the Find the List Item section
    Field: LookupListATitle
    Value: Current Item: Title)
    Transition to stage
    Go to End of Workflow
    When I update an item in ListA and set its Completed column to Yes, I would expect the Workflow to find all the items in List B where the Lookup column is equal to ListA's Title (there are 2) and update their Completed column to Yes. But it doesn't work.
    When I look at the Workflow Status it says the Internal Status is "Canceled" and the information pop up has the following alien language (and may be truncated):
    RequestorId: 95f03b62-8956-ac14-c5cf-dc98c89c589c. Details: System.ArgumentException: Invalid JSON primitive: Item001. Parameter name: value at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.ConvertStringToJsonNumber(String value) at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.ReadPrimitive(String
    type, XmlDictionaryReader jsonReader) at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.JXMLToJsonValue(XmlDictionaryReader jsonReader) at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.JXMLToJsonValue(Stream jsonStream, Byte[] jsonBytes)
    at Microsoft.Activities.DynamicValue.ParseJson(String json) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)
    Unfortunately I don't have access to the server, logs etc.
    I would love to find some tutorials, or any books on SharePoint Designer 2013 in general and Workflows in particular but my searches haven't turned up much so far apart from a pre-release Beginning SharePoint Workflows which is in its very early stages and
    not much help yet.
    Can anyone give me some guidance on how to set up While Loops to iterate through a related list using SharePoint Designer 2013?
    Mark

    Hi,
    I understand that you wanted to update the items in the other list (Participants) where the Course equals the Current Item.
    You need to use “Call HTTP Web Service" action and “Build Dictionary" action to get the Maxid and then loop Participants to update the items.
    You can follow the steps as below to achieve what you want:
    Create a custom list named Courses, add columns: Title(Single line of text), Course ID(Single line of text), Course Finalised (Yes/No).
    Create a custom list named Participants, add columns: Title(Single line of text), Course(Lookup), CourseFinalised (Yes/No).
    Create workflow associated to Courses, start the workflow automatically when an item is created or changed.
    Add conditions and actions:
    The HTTP URL is set to
    https://sitename/_api/web/lists/GetByTitle('listname')/items?$orderby=Id%20desc and the HTTP method is set to “GET”. Then the list will be order by Id and desc.
    Then if Course Finalised is equal to Yes, the CourseFinalised  of the associated items in Participants will be updated to Yes.
    More information:
    http://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Design for process flow in OWB

    Hi Experts
    I want to design my process flow. Please send the processflow design template/Document.
    Regards
    frnd

    You define an Oracle Workflow location to specify where you want to deploy your process flows. The Oracle Workflow location points to a workflow schema that runs in the target database. Warehouse Builder process flows comply with the XML Process Definition Language (XPDL). When you generate a process flow, Warehouse Builder generates an XML file in the XPDL format. You can plug the generated XML file into any workflow engine that follows the XPDL standard.
    Process Flow Modules include Process Flow Packages that include Process Flows. The Process Flow Package is a grouping mechanism that determines which process flows you can interrelate. At run time, you can launch one process flow that launches other Process Flows that exist in the same process flow package.
    The Process Flow Module acts as a container by which you can validate, generate, and deploy a group of Process Flows.
    So, it concludes that there is no standard design for process flows, it all depends to your datawarehouse and your ETL process(extracting, transformning. loading)

  • Fields missing in Designer 2010 workflow

    I created few yes/No column through Association Columns in Designer but now the value is missing and my workflow crashes. i fixed it saved and published the workflow yesterday. when i opened the workflow this morning i see the same issue.
    when i tried to modify i see this

    Hi Madnan,
    I tested the same scenario per your post and I got the same results as you got.
    It seems that the association column is designed for reusable workflows, and if we use association columns in list workflows, the issue will occur.
    In the .xoml file of the workflow, the reference of the associated column should be like the image1, however it will change to image2 in list workflow after refresh the workflow:
    So the error occurs when we run the list workflow.
    I recommend to use association column in reusable workflows instead of list workflows.
    More references about association column:
    http://blogs.msdn.com/b/sharepointdesigner/archive/2011/05/02/association-columns.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292551.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Sharepoint designer 2013 workflow kickoff issue from code

    Problem Statement: Start a  SharePoint 2013 designer Reusable Workflow with STS Authenticated User. We are trying to start to SharePoint 2013 designer Reusable Workflow with
    STS authenticated user using code but when we do that, we get following error. RequestorId: a3ce6dc6-31ec-23f3-0000-000000000000. Details: RequestorId: a3ce6dc6-31ec-23f3-0000-000000000000. Details: An unhandled exception occurred during the
    execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"error_description":"The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults
    (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect
    the server trace logs."} {"x-ms-diagnostics":["3001000;reason=\"There has been an error authenticating the request.\";category=\"invalid_client\""],"SPRequestGuid":["a3ce6dc6-31ec-23f3-b3ab-aef56fc7e299"],"request-id":["a3ce6dc6-31ec-23f3-b3ab-aef56fc7e299"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["65"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer
    realm=\"de9da885-f7bf-4564-a3a5-
    Alternate approach we are following : We have created a windows authenticated user and gave him all the necessary permission to trigger the workflow(contribute, full control). Then we are creating the User token
    for that user and opening the site with the help of the generated user token. By this approach workflow is getting triggered.
    The problem in this approach is after ¾ days it gives error when trying to kick off workflow from code with user who has not logged in as we are using this AD user only for kickoff purpose.
    InvalidOperationException:
    Operation is not valid due to the current state of the object
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    There is a userprofile for the user and the issue is not a userprofile. We are using direct AD import and we have full sync every 5 minutes. The workflow gets kicked off using a fix user who never logs in but after 4/5 days the token or something gets expired
    and then we have to manually login with that user and then only code can kickoff workflow with that particular user.
    The problem in this approach is after ¾ days it gives error when trying to kick off workflow from code with user who has not logged in as we are using this AD user only for kickoff purpose.
    InvalidOperationException:
    Operation is not valid due to the current state of the object
    We can not kickoff with current user as current user can not be given contribute rights and we can not do it with system account as its not able to kickoff using system account by design of sp2013 workflow.
    So we need to know how to kcikoff workflow with a user who never logs in or logs in only for the first time and then never in production.
    Below code works for few days and then as user does not login with which we kick off workflow the token or something gets expired after 4/5 days.
    userToken = oSPWeb.EnsureUser(“UserAccountName”).UserToken;
    using (SPSite
    oSPSite = new
    SPSite(SPContext.Current.Web.Url,
    userToken))  //Site collection URL
    using (SPWeb
    oSPWeb = oSPSite.OpenWeb())  //Subsite URL
    SPList list = oSPWeb.Lists["Proposal"];
    try
                                oSPWeb.AllowUnsafeUpdates =
    true;
    SPListItem item = list.GetItemById(proposalID);
    var workflowServiceManager =
    new
    WorkflowServicesManager(oSPWeb);
    var workflowSubscriptionService = workflowServiceManager.GetWorkflowSubscriptionService();
                                //get
    all workflows associated with the list
    var subscriptions = workflowSubscriptionService.EnumerateSubscriptionsByList(list.ID);
    foreach (var
    workflowSubscription in subscriptions)
    if (workflowSubscription.Name ==
    "Proposal Workflow")
    //initiation parameters
    var inputParameters =
    new
    Dictionary<string,
    object>();
    inputParameters.Add("Comments",
    "TEST");
    inputParameters.Add("ItemId", item.ID);
    inputParameters.Add("WorkflowStart",
    "StartWorkflow");
    workflowServiceManager.GetWorkflowInstanceService().StartWorkflowOnListItem(workflowSubscription, item.ID, inputParameters);
    break;
                                oSPWeb.AllowUnsafeUpdates =
    false;
    catch (Exception
    ex)
                                Classes.Logger.WriteErrorLog("Sumbit",
    "kickoffWorkflow1", ex,
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

  • How to organise the library best for workflows?

    I need some help to set up my library propperly. I'm using Aperture for a year now and the organisation of my first major project was a bit of a mess and I lost control. I had a folder as top level, then a Project (box) containing folders and smart folders. I wanted to work with keywords only but that didn't work out.
    Now I have an even more complex project and I want to go back to a workflow based structure. But it seems that the boxes, folders and albums aren't quite designed for this kind of organisation. This is what I actually want to do:
    – Top level Project name e.g. Seasons
    – Sub-projects /divisions e.g. Spring, Summer, Autumn, Winter (note that a photo can only be in one category)
    – Workflow sections where photos are moved according to their state of progress, e.g. Import, Editing, Review, Published (again a photo can only be/show in one location)
    This is how I would have liked to do it:
    1. A folder or box as top level called Seasons
    2. Four boxes or albums as sub-divisions for the seasons
    3. Give every step of the workflow an album or folder (like sections to move through)
    Now this is the obstacle I'm facing:
    1. I can't put boxes in boxes
    2. I can't put photos in folders
    3. I can't move photos from one album to another (they need to be deleted separately in the old folder)
    I have read about how these elements are designed in the other threads. But I havent yet found a way how to use them the best way for my purpose. The best thing I can think of at the moment is to use folders in the top two levels and boxes for the workflow.
    Is there anyone who tried to organise a project like this before?

    Hi,
    of course you have to find your own way.
    I just recommend  (I first did something similar to what you plan to do, so who am I, to tell that you shouldn't),
    to start not with Folders as the top level organizer.
    In my opinion you have to think not of files but of pictures.
    So the pictures are organized in PROJECTS and are always ORIGINALS because it is different to Bridge or LR
    not files that you are working with (it takes a while to think this over, I guess).
    So the pictures are now organized inside these folders into ALBUMS with different "workflow states" like
    the originals ( I would name them more: base-pictures or shooting or whatever)
    You pick your stars from 1 to 5 (and 9 to delete) to create kind of a choice from the shoot.
    Out of your choice you create an album for your EDITS and immediatly delete those pictures from the SHOOT-ALBUM ( they are still chosen and still you can make them visible via cmd/F and choose all pictures with 1 star and more- go to PICTURES-DELETE FROM ALBUM).
    So now you have every picture only one time inside your PROJECT and still only one time in only one ALBUM.
    Now you feel free to create some intelligent albums if you need, for checking which ones were taken to a lab for printing or send via email or whatever. For me personally these intelligent albums don't work but this depends on the workflow and your clients.
    The advantage is in my case, I export PROJECTS as so called MEDIATHEK (another AP LIBRARY) to an
    Ext HD, so I have all the adjustments and the order, in case AP starts to work not as I want it ( I had these
    issues a few times in the past and had, what is discussed in this forum as well, thousands of pictures two, and more times without knowing what I did wrong after repairing ).
    Hope this helps
    Uwe

  • Output post processors and workflow engines doesn't come up after cloning

    ours is a RAC+ASM+PCP -enabled
    host1 : DB+ Concurrents
    host1 : DB+ Concurrents
    host3 : WEB+FORMS+OC4J
    host4 : WEB+FORMS+OC4J
    We are suffering from an “empty entropy pool” within the JDBC driver. Basically, the driver will attempt to gather a random number from the pool, but if the pool is empty the driver will wait (sometimes indefinitely) for values to come in. In most installations, the default configuration has the pool being “filled” by numbers created through a user interface such as mouse movements. On our servers, we are typically in a “headless” configuration so the pool may not be replenished properly. I’m not sure why we are seeing this new issue, but since the random number generator is related to security, maybe a security enhancement from the OS upgrade has made this more sensitive.
    Note that QA4 is “mostly” up and running. The concurrent managers are started on both wpsun144 and wpsun154, but the output post processors and workflow engines are still having issues
    The ultimate solution is to add some form of “entropy gathering daemon” to keep the pool filled, but we will need the Unix Admin team’s help and some research to find the best solution. Apparently, in Solaris 10, there is a kernel-level “cryptographic framework” for adding/removing entropy sources.
    The workaround is to add a java option to the java command line. For Solaris this seems to work: “-Djava.security.egd=file:///dev/urandom”. This is NOT a reasonable solution since this requires modifying multiple delivered scripts/templates. I made the following changes only on wpsun144.
    First, for the context file I had to modify the “s_adjreopts” variable to add the above workaround (per doc 1066312.1).
    For adgentns this was fixed by modifying the $AU_TOP/perl/ADX/util/Java.pm file and adding the option. Here are the new lines in the file:
    if($javaCmd =~ /jre/) {
    return ("-mx256m -Djava.security.egd=file:///dev/urandom", 0);
    } else {
    return ("-Xmx512M -Djava.security.egd=file:///dev/urandom",0);
    After this change, adgentns completed successfully and both the “tnanames.ora” and “listener.ora” files were created in the $TNS_ADMIN location.
    For adgendbc, I had to manually modify the template for the script (there are 10 java command lines in the file).
    $AD_TOP/admin/template/adgendbc_ux.sh
    For txkExecSetJaznCredentials.pl, this file was modified:
    $FND_TOP/patch/115/bin/txkSetJaznCredentials.pl
    At this point, adcfgclone did finally complete successfully! Also adautocfg is now completing successfully!
    Some references:
    http://www.usn-it.de/index.php/2009/02/20/oracle-11g-jdbc-driver-hangs-blocked-by-devrandom-entropy-pool-empty/
    Oracle E-Business Suite Applications Technology Readme for Release 12.1.3 (R12.ATG_PF.B.delta.3, Patch 8919491) (Doc ID 1066312.1)
    Look for a section titled, “Attention: JDBC connections may time out during the upgrade process when random number generation is slow on machines with inadequate entropy.”
    Can some one help me on this.

    ours is a RAC+ASM+PCP -enabled
    host1 : DB+ Concurrents
    host1 : DB+ Concurrents
    host3 : WEB+FORMS+OC4J
    host4 : WEB+FORMS+OC4JPlease post the details of the application release, database version and OS.
    We are suffering from an “empty entropy pool” within the JDBC driver. Basically, the driver will attempt to gather a random number from the pool, but if the pool is empty the driver will wait (sometimes indefinitely) for values to come in. In most installations, the default configuration has the pool being “filled” by numbers created through a user interface such as mouse movements. On our servers, we are typically in a “headless” configuration so the pool may not be replenished properly. I’m not sure why we are seeing this new issue, but since the random number generator is related to security, maybe a security enhancement from the OS upgrade has made this more sensitive.
    Note that QA4 is “mostly” up and running. The concurrent managers are started on both wpsun144 and wpsun154, but the output post processors and workflow engines are still having issuesWhat is the error from the Workflow and OPP log files?
    The ultimate solution is to add some form of “entropy gathering daemon” to keep the pool filled, but we will need the Unix Admin team’s help and some research to find the best solution. Apparently, in Solaris 10, there is a kernel-level “cryptographic framework” for adding/removing entropy sources.
    The workaround is to add a java option to the java command line. For Solaris this seems to work: “-Djava.security.egd=file:///dev/urandom”. This is NOT a reasonable solution since this requires modifying multiple delivered scripts/templates. I made the following changes only on wpsun144.
    First, for the context file I had to modify the “s_adjreopts” variable to add the above workaround (per doc 1066312.1).
    For adgentns this was fixed by modifying the $AU_TOP/perl/ADX/util/Java.pm file and adding the option. Here are the new lines in the file:
    if($javaCmd =~ /jre/) {
    return ("-mx256m -Djava.security.egd=file:///dev/urandom", 0);
    } else {
    return ("-Xmx512M -Djava.security.egd=file:///dev/urandom",0);
    After this change, adgentns completed successfully and both the “tnanames.ora” and “listener.ora” files were created in the $TNS_ADMIN location.If you are on R12, please see these docs (search for "Djava.security.egd").
    Oracle E-Business Suite Applications Technology Readme for Release 12.1.3 (R12.ATG_PF.B.delta.3, Patch 8919491) [ID 1066312.1]
    Oracle E-Business Suite Release 12.1.3 Readme [ID 1080973.1]
    For adgendbc, I had to manually modify the template for the script (there are 10 java command lines in the file).
    $AD_TOP/admin/template/adgendbc_ux.sh
    For txkExecSetJaznCredentials.pl, this file was modified:
    $FND_TOP/patch/115/bin/txkSetJaznCredentials.pl
    Can some one help me on this.Are you trying to avoid manual changes? If yes, please make sure you have all the patches mentioned in the docs referenced above applied and you have all the necessary configuration/setup.
    Thanks,
    Hussein

  • Macbook Air right for an engineering major?

    I'm currently a Biomedical and Mechanical Engineering double major at UC Davis, and I wanted some input on whether or not a Macbook Air would be suitable for my needs. The 13" 2013 unit with the Haswell CPU is only $999 on Amazon right now and I figured it is priced so competetively with other ultrabooks now that I can actually consider it.
    As far as I know, I need access to a Python and C/C++ IDE and compiler, MATLAB, and several CAD applications that my school gives us for certain classes. That's pretty much all I need from now through my bachelors degree. I'll also dual boot Windows 8 since I may occasionally miss Windows, since this will be my only PC from now on (I completely stopped gaming so I sold my custom desktop). I'll also run any programs that are Windows only in Windows of course.
    Sure, I will be doing some software design, but the ULV i5 is plenty powerful. I'm not doing some insane rendering or anything. Just some very basic rendering and programming.
    So I have 3 questions:
    1. Is a Macbook Air right for an Engineering major? How has having a Macbook "changed" you as an engineer?
    2. Is there any way to have a Windows Partition, an OSX Partition, and an exFAT partition to share my music and videos across both OS's? Both Windows and OSX can read and write to exFAT right?
    3. What external hard drive and USB drive formats (other than FAT since I have files larger than 4GB) are best for transferring files to and from OSX and Windows machines?
    Thanks for the help! I'm looking forward to purchasing a Mac since they are so competetively priced now. I think Apple mad a great move with these price cuts.

    I second the above opinion, as I am an Electrical Engineering student currently. I've been using an 11" Air for everything (full options, i7, 8gb, 512ssd). I was using a mid 2011 and i just got the new 2013 model and I have to say both have performed outstanding.
    Since you're gonna be an engineer i'll tell you how I run my machine to let you know how powerful it is for school:
    I run 4 desktops that i swipe between constantly with 10+ programs running, most of which are not your normal small programs (Autocad, MotionBuilder, etc.)
    My 5th desktop that i swipe between is Parallels Desktop running windows 7 for the non-mac apps, inside of windows i typically run 3+ programs which include AutoCad, Quartus (electronic modeling) and PSpice.
    Keep in mind that I run all of this at the same time and it's probably too much (I don't need to run everything at once I just love to keep evrything up so between classes I don't have to prepare for the next).
    All I have to say is the machine kills it. i'm serious, no lag, fluid autocad building, low heat, and great battery, i got about 5 hours out of my 2011 model and i expect to see 8+ out of this one when school gets going again.
    You're in the right direction, i think you'll be more than happy with a new Macbook Air if you max out the options, and then you'll increase the resale so in 2-3 years you can grab the latest and greatest as i did.
    Good luck in engineering and don't let it get to you, stick it out and it'll be worthwhile!

  • Edit option not enabled for workflow content from within Content Presenter in Webcenter Spaces

    I have a webcenter spaces portal page with a content presenter displaying a html page using the default out of the box template. The html page is located in webcenter content / UCM under a folder on which the " All Reviewer" seeded workflow is enabled. The issue i am seeing is when the file is in workflow the edit option is not being enabled even though the reviewer should be able to edit/approve the content in this step. The other functions like workflow approve or reject and switching between workflow version and published version are all enabled. Also when rejected the content does not show edit option from the content presenter (cntrl-C option) for the original author to make any updates.
    What would need to be done to enable editing from within the content presenter for workflow content?
    Thanks for your help

    Hi Sreedhar
    We are using WCP 11.1.1.8.5
    To recreate the issue
    1)  Login to WCC Portal: Spaces as admin user , create a New Page under a webcenter spaces portal
    2)  Under the space , Pages Section , select the page and click edit
    3) In Design mode , choose Content Management and Add Document Explorer and Add Content Presenter on the page
    4)  The Document Explorer will default to the Current Space/portal directory under MyWebcenterSpaces in UCM
    5) Create a directory "content" under the Portal space using the document explorer.
    6) Right Click on Content folder and choose details. In Details view , go to File->workflow settings and pick a seeded workflow -> MyWCSAllReviewer. Add a user as workflow approver
    7) After workflow is enabled on this folder upload a basic html page with simple text into this folder
    8) Now in the design mode choose edit in the content presenter and select the "single content view" with default template to display an Image or HTML. Click browse and select the html that was added to workflow
    9) Save the Page and view the portal. Workflow should now be enabled for any content changes to that html page.
    10) Click Cntrl-shift-c in portal/space as an authenticated user with edit access to content and make an edit to content , this will trigger worklow . The author currently will see edit option get disabled once content enters workflow
    11)  Login as approver to the portal and cntrl-shift-C to the portal and workflow options(approve and reject) are enabled but the edit option is not. If you reject content , the author should be able to edit content in the content presenter mode, this also is not available. The issue is the content is now no longer available for editing from wthin content presenter if it is in workflow to either the approver or the original author depending on workflow step. If you check the same content under the document explorer the option to edit is enabled. Is this a bug /issue with content Presenter or some option needs enabled?

  • Need best Architecture design for the following scenario

    Hi Experts,
    I need best architecture design for the following scenario:
    Sender: Mail
    Receiver: if sender body contain u201DApproveu201D, then call SOAP adapter, If SOAP adapter execute successfully, then  send Mail(SOAP adapter executed successfully) and SMS .  So receiver is SOAP, Mail and SMS.
    My current approach issue:
    Three message mapping:
    Mapping1: mail to SOAP
    Mapping2: mail to Mail
    Mapping3: mail to SMS
    In interface determinant>u201DSelect all three operation mappingu201D> u201Cselect order at runtimeu201D.
    Issue in current approach: For me first SOAP adapter should complete successfully, after that only my Mail and SMS operation mapping should execute:
    But problem is before success of SOAP adapter engine, Mail and SMS mapping completed or integration engine executed.
    Note: There is possible to fail the SOAP request in adapter engine.
    Kindly help me --> u201CAm I going correct way or want to change the architectureu201D?
    Thanks for advance!!
    Regards, Kumar

    What do you mean by successful execution of soap call?  Are you talking about Successful response (happy flow) from the soap call instead of application error ? Then based on the response you want to decide sending mail and sms.  How big call is your soap ?  If your soap interface is very simple I can give the other possible way.
    Sender sends the message, use mapping  to read the content and then do soap call in the mapping itself and after seeing the soap response decide about two receivers (mail and SMS).  If your soap call is very simple one, you can go for it. Otherwise I would not recommend this. The reason is you loose some visibility regards to monitoring during soap call in the mapping.
    Other option is go for CCBPM.  Here you receive the message, use send step to soap interface which is sync step. Then after seeing the response create another block with fork steps each for two senders mail and sms. If response bad then dont proceed or execute the next block. Simply use exeception or control step to jump out from the block,

Maybe you are looking for

  • Reciever file adapter permissions

    Hi I am trying to writing a file on remote computer using nfs reciever file adapter I get the following error Message processing failed.Cause com:sap.aii.af.ra.ms.api.RecoverableException: Target directory ' Hfavediqa2_0\ZIMEQCDATAIN' does not exist

  • Xmltype data can't be copied from remote database

    Hi, I got the following same error when copy table with xmltype from different env: table localXML(xml xmltype); insert into localXML select * from remoteXML@romote; 1. run from db tools: ... Physical database connection acquired for: local 12:07:41

  • How to create a database sowtware in java

    which thing is required to develope a database other than jdk1.6 and also which other files are required for it plz help i am not understanding exactly what is required

  • Normal Correction/Development Activity not creating SDMJ type correction

    HI i am doing implementation project in Solution Manager , and i have activated ChaRM for my project and it has created a tasklist starting with "I" as well. Now when i create a change request of Subject Type: "Development(Implementatio)" it creates 

  • ORA-01858: a non-numeric at OracleConnectionPoolDataSource

    I have OracleConnectionPoolDataSource. When I run my JSP , I am getting error java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected Error line is showing at OracleConnectionPoolDataSource ocpds = new OracleC