The workflow step (approve Action) Service custom Java and "pass params".

Good afternoon, fellow coders!

Normally I research and proof of concepts until I find a solution, but given the great deadlines, I don't have the time - so I need your help.

I try to have an Action to approve Workflow (idocScript output Workflow event call) to call a custom component (Service of Java) AND 'pass' a sort of parameters (bare minimum dDocName)

In a perfect world, it would be as simple as: processContentInfo (String dDocName, String xMyCode1, String xMyCode2);

But since I called the Java Service of idocScript (via executeService) I can't skip params through the API.

Is there a simple way to do this?

It seems that if you can not skip params you could put at least in the managed container (m_binder) and just know to look on the side of Java via some DataBinder as m_binder.getLocal)

Am I missing a simple idocScript function that will allow you to do this?

Note: I'm NOT running the Service from a URL so normal? param1 and param2-> m_binder.getLocal solution is not good.

In addition, book of Bex warns on the Classes of Service not easily 'be able to call other Services of the University Complutense of MADRID'...  My Personalized Service must do exactly that (and JDBC and other things). Is this really a problem?

Looks like I've got dDocName I could use CRMI to hit what I want, as long as I know how to use a binder, etc. - is there a mystical shade that prevents this?  Or he just said that it is difficult, UNLESS you know RIDC?

Quality all advice is appreciated!  And please, try to give me an answer detailed as opposed to something vague like 'try a Service Manager', I need something that I can digest quickly.

Thanks in advance!

You can set parameters for the service call by defining Idoc Script variable before calling executeService.

<$dDocName="TEST12345"$>

<$param1="09876"$>

<$param2="ABCDEFG"$>

These variables are then available via the DataBinder service.

Here is information on how to run a custom component service. Avoid any question doing this.

http://www.redstonecontentsolutions.com/5/post/2012/05/executing-a-service-from-aservicehandler.html

http://jonathanhult.com/blog/2012/06/execute-a-service-from-a-Java-filter/

Jonathan

http://jonathanhult.com

Tags: Fusion Middleware

Similar Questions

  • Creating a type of stage of the "Launcher" which would insert the appropriate step type predefined or custom time edition

    Hello world

    I'm looking for tips, pointers, directions... to be able to perform this operation in TS 4.0 sequence Editor, if it is still possible...

    I am managing a test system with an abstraction of virtual instruments 'home-made' additional layer to IVI classes for instruments that have no defined classes, customization of the sequence editor accordingly for the developers of my Department.

    So basically, when the instrument is IVI, the developer uses the built-in type of stage IIA type and when it is not the case, it uses the types of custom step I developed for this particular category of instruments.

    However there are classes where I both IVI and available specific drivers and I have to use both in the test sequence.

    For example, let's say there are two DC power sources available in the test bench, including a programmable IVI compatible DC power and the other composed of 'blocks' fixed to DC power relay-driven external and you will need to use both in the test sequence.

    I want to be able to do in the sequence editor is the insertion of appropriate during the editing just level type by selecting the power source (by a ring or an enum for example) and if the first resource is selected, it inserts the type of stage IIA, and if the second resource is selected, it inserts the appropriate custom step type.

    Any ideas on how to achieve this?

    Kind regards

    Cyril

    I don't know exactly when you plan this next prompt, but one option is to create a personalized with a custom step step type named OnNewStep. It will be called when your approach is inserted in the sequence. You can then display the command prompt and replace program step custom in the sequence step type based on the selection of the appropriate user.

  • After the release of windows vista service Pack 2 and flash 10 my system continues to blue screen

    After the last update of windows vista service Pack 2 and flash 10 that my system continues to blue screen, the solution has advised windows that will fix it is to uninstall flash and reinstal, it dosent solution work any ideas? I tried to roll back to Flash 9 and it's less, but happens again... someone has any ideas?

    First, uninstall Flash to make sure that's not the problem.  If the problem persists and if the problem is related to the installation of Vista SP2 (as seems to be the case), then Support Microsoft offers free technical support for installation of Vista SP2 issues at: https://support.microsoft.com/oas/default.aspx?prid=13014&gprid=582034&st=1&wfxredirect=1&sd=gn.  They are experts on these issues and you should take advantage of the offer, although it is still free.  I'm sure they will be able to help you.  Minimize (but do not deny) the update of Flash and to focus on the installation of SP2 when you explain the problem.

    I hope this helps.  If this isn't the case, after return and we'll see what we can do.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • With the help of Windows 7 Service Pack 1 and any crashing or hanging.

    Original title: Lita Gyulay

    Hi can anyone please, I use windows 7 service pack 1 and all keep to overwrite or suspended. I was in the Recovery Manager and he tell me that I have 3 incompatible applications that I need to delete. I was in my control panel but cannot find versions, in fact I can't find versions anywhere on my laptop! I have an error code = 1602 and error code 7. The teredo tunneling adapter also has a code 10. I am at a total loss, please help. Thank you.

    Some of your installed software may not be suitable for Windows 7. Please download and run the Windows 7 Upgrade Advisor, and download a copy of the report to your OneDrive as a shared file:

    https://www.Microsoft.com/en-GB/download/details.aspx?ID=20

    For assistance OneDrive see paragraph 9.3:

    http://www.gerryscomputertips.co.UK/MicrosoftCommunity1.htm

  • Understand the workflow between Adobe first Pro CC 2015 and earlier version

    Hello!  I later worked on the first version of pro (cc2015, kid with hood you red) but my partners have not updated yet (they Problehave 2015 earlier, one of the Climber)... They push me to try turning my equipment of cloud creative to get bak to the previous version but... I don't understand.   I need you guys, any idea in order to work with them, otherwise I have to move mac my every time. I also tried EDL, but it seems not working while I'm editing with multi cams so the EDL is a great lack of clips on the timeline... Any help will be really be appreciate it. Thank you.

    As far as I know, the body doesn't have a function to save a project file, so it will be opened by an earlier version of the program

    You can export your project as an XML file, but not all the features of the project are included

    Or you can install the previous body to match what they use

    Previous through Cloud http://helpx.adobe.com/creative-cloud/help/install-apps.html#previous

    - and if you have Cloud application manager 2015 https://forums.adobe.com/thread/1906752 of difference

  • Custom components and passing arguments

    This afternoon I got a great response on the use of custom MXML components and calling a function in the main file of the application. I can do it now using parentDocument, BUT I need to pass the name of a function (for filtering) as a parameter of the function call in the custom component. Here are two code fragments.

    Custom component code

    " < mx:LinkButton label = '10% discount or more" (showTenPercent) click = "parentDocument.filterFunction" / >

    The main application code

    public function filterFunction(functionName:Function):void {}

    merchantDG.visible =true;

    merchantData.filterFunction = functionName;

    merchantData.refresh ();

    }

    public Function showTenPercent(item:Object):Boolean {}

    return (item.merchantOfferCategory ==' 10% ');

    }

    The filterFunction in main application function is called by multiple components, so I think I should keep centralized in the main application. There is probably another way to do it, but I build my Flex skills slowly and need to understand how to proceed. As the code is now, I get an error on the functions and strings.

    I think instead of calling the function inside the custom component, you must do this from the inside of your main application whenever you are initiating the custom component.

    for ex.

    in this way, that you need not prefix parentDocument.

  • How to return to the previous step in a workflow to void?

    We call a workflow under an approval action in a main workflow. In the child workflow, we have 9 steps. If at any stage in the child (other than the first) workflow user rejects action, workflow control should return to the previous step in the child workflow itself.

    We have added a custom action in the output of all stages of children workflow events. This is the logic of the output of step 4 of the child workflow event. A similar logic is there for every step of the workflow of the child.

    < $if wfAction and wfAction as "REJECT" $>
    < $wfSet ("wfJumpTargetStep", "Step3@childWF") $>
    < $wfSet ("wfJumpEntryNotifyOff", "0") $>
    < $endif$ >

    With this code when the user made the rejection of the child workflow action, it takes us back to the main workflow and not to the previous step in the child workflow.

    This approach is correct?

    -Pratap

    1 3 events are input, output and set to date.
    2. rejects arrives in the area to update but you can not reliably respond it because to reject it, he leaves immediately (don't not through the exit event).
    3. the rejected content goes to the rear in the workflow step by step (even going back to the main workflow in a workflow sup) until he finds a step that has valid editors (not only reviewers).
    4. If it does not find a Publisher he goes all the way back to the step of automatic Contribution at the beginning of the workflow and is in a kind of no mans land until the donor (or an administrator) will and approve it again.
    5. to check if something has been rejected to the input of an editor event stage BEFORE the stage where it is rejected needs to have the code to check the status of rejection.

    The workflow under should be able to capture dismiss it as you wish. All the steps in the child are steps only workflow (workflow sup)? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms.

  • Speech reqular corresponding to the presentation of the workflow

    Hi all

    I'm trying to set up an input in the presentation parameter. I'll use the "Matching speech reqular" feature to allow entry only with the characters that I'll do it.

    The customer can doesn´t must put all the characters, but it cannot put all the other characters.

    "I use the following value ValidationExpression="^([a-zA-Z0-9_\.\s\-]*)$ ' , but it doesn´t work.

    for example:

    I have an input parameter 'Application name' and the client should could put the name "HR SQL Server - June 2012" or 'HR SQL Server', but they shouldn´t could put a name like ' HR´s SQL Server - June 2012 "." "."

    Someone has an idea for the value or a solution.

    I did it for you. Action:

    The workflow calling for action:

    The flow of work performed.

  • Do "request failed: ' error after the workflow run 'assign a state change.

    I try to start a workflow that sends an email once a machine is put into operation.  A simple task, I think.

    I have installation vRA and vRO and am able to supply machines form vRA before making further changes.

    In vRO, I ran the workflow of customization of the vCO 'Install', and the workflow "to assign a workflow of change of State of a master plan and its virtual machines.  After you run the last workflow, I get the error "'request failed: not found YUNoWork and perhaps even deleted before commissioning end." when you try to configure a machine to. "

    The workflow of messaging works on its own, and after the execution of the workflow «Assign a state change...» ", I see not updated the property of 'WFStubBuildingMachine' on the action plan.

    Any comments would be greatly appreciated!

    The issue was that endpoint vRO was not added to the vRA.  After you add endpoint and the taking of the inventory, the problem has been resolved.

  • Errors NT Service stopped working and was closed"and Windows Explorer has stopped working"

    Original title: NT service

    "NT service stopped working and was closed" appears on desktop screen after signing in. In addition, "Windows Explorer has stopped working" appears when trying to access to the "view network status and tasks" or "set up file sharing" in the control panel. However, I am able to access Internet Explorer without problem. What is the problem?

    Hello

    1. you hear that you receive the error at startup after you have signed in to the user account?

    2 have you made any changes to the computer before the show?

    NT Service stopped working and was closed because:

    Method 1: Try to start the Services.msc services and see if that helps, manually.

    (a) click Start, type services.msc and press enter

    (b) search for the following services

    (c) Net.Tcp listner adapter

    (d) the Net.Tcp port sharing

    (e) make sure the status of services started and startup type is automatic.

    (f) click on apply and Ok.

    Method 2: SFC scanner.

    Analysis (sfc) System File Checker will replace the missing or corrupted system files on your computer.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7 http://support.microsoft.com/kb/929833

    Explorer Windows has stopped working the issue:

    See the following article:

    Important notes:

    ·         You can exclude scan SFC in the following article:

     

    ·         When you have finished diagnostic using the clean boot, follow step 7 article to start on normal startup.

    ·         The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    ·         Before Inplace upgrade, be sure to back up data.

    Error: Windows Explorer has stopped working http://support.microsoft.com/kb/2694911

  • I try to install an air 320u sierra wireless card and I get an error message "could not access vb run time for custom action script. Cannot install the Manager of mobile broadband services.

    could not access vb run time for custom action script

    I try to install an air 320u sierra wireless card and I get an error message "could not access vb run time for custom action script.  Cannot install the Manager of mobile broadband services.  Any ideas?

    Hello

    I suggest you run the fixit and see if it helps:

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Also check out this link:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_programs/error-2738-could-not-access-VBScript-run-time-for/1a4499ae-8bc1-4534-9c6f-4d399ac70d9a

    It will be useful.

  • The Action Service Cloud app - How to let contacts continue to the next step?

    I created an application of cloud eloqua with service of the action.

    To test this, I created a campaign of several stage which is really simple:

    A segment with a couple of members empties in my cloud service for action, which then flows into something else as an email or something.

    However, I have difficulties to get the contacts to flow through the cloud service action step: they seem to all be stuck there and do not pursue.

    According to the documentation of the api 2.0 in bulk and sites on the provision of a service of the action (develop a Service of Action AppCloud).

    during contacts lead to the step of the service action, eloqua will ask my notification url (I myself do it successfully),.

    After that, I respond with a status code, and the example is a code of 204 followed State of an asynchronous data import/export in bulk.

    My action requires no import or export, and my goal is to do my job and to answer back that I have completed, or if it will take a while: answer in return have eloqua wait, then send a request later that I finished.

    After that, contacts can move to the next step in the Web of the campaign.

    Then, I realize that after I get the notification I can respond with a status of 204 to eloqua let know that I will use the large asynchronous calls in the api to import and export data.

    But what other statutes can I use if I don't want or don't need to use asynchronous api calls?

    Can I just return a 200 status if I'm done and I want eloqua to move to the next step of the campaign?

    Can I return a status for eloqua wait for me to proceed with a treatment on my side, followed by a status to let eloqua proceed?

    I tried several different status level 200, and none of them does not seem to leave my contacts to move to the next step.

    Help, please.

    Thank you

    Chris

    No, you will need to update their status with an import. You can simply use your answer.

    What you're talking about requires you to answer in performing an action to import BULK "SetStatus" with a status of 'Complete '.

    See:

    Develop a Service of Action AppCloud

    I do in fact for the first time me just at this moment. It is not difficult, but I am struggling with the ML to give it a Destination which is like.

    Scott

  • How to activate the Workflow Service Agent - E - BIZ R12 Oracle listener

    Environment

    DB: 11.1.0.7
    Rel. Appl: R12.1.1
    OS : RHEL 5.1 (x86_64)

    Here is the work around is to bring up the WF Agent listener

    After completion of the accessing the WORKFLOW system Clone,

    Shippers notice status: down
    Agent listeners: down
    Fix components: down

    -Workflow Notification Mailer is not required for this Instance

    I did it after the NAVIGATION

    Log in as a sysadmin

    Go to system administrator > OAM > Wrkflow > fix components

    Here this theres window a dropdown menu with the actions defined, I selected Stop ALL and click Go

    a Req on submitted, when I checked administrator system > OAM > Wrkflow > Service components

    Status of the components are disable ...

    After awhile, I chose listener WF Agent and started OAM and another checked the concurrent application windows, it had ended normal and there was no exit and the file log and priority is 0


    Please guide me what needs to be done to activate the particular service...


    -Chetan

    Please see these Docs MOS.

    How to start the deferred Workflow Agent andWorkflow deferred Java Agent listener listener? [548918.1 ID]
    "Service component container does not work" when you try to start workflow components [733335.1 ID]
    Troubleshooting failure of workflow Agent listener on startup [ID 469009.1]

    Thank you
    Hussein

  • HOW URL WSDL Web Service: Web Service call in the workflow

    have a 1 step, Web service workflow: call the Web Service.  I wish I could pass a string parameter to the url of the endpoint for the parameter of the URL of the WSDL in the Web service settings dialog box as oppose to the transmission of the actual url (http://machine/some_service.svc?wsdl).

    The reason is that we are moving the workflow between environments DEV, TEST, etc., we do not want to reopen the workflow in each env and update the DEV, TEST endpoint.

    I tried the following without success

    1. create a parameter of type String devURL

    2 by default, set the value on http://machine/some_service.svc?wsdl

    3 Goto service web appeal stage and set the URL of the WSDL to the /process_data/@devURL

    I get the error:

    java.io.FileNotFoundException: \process_data\@devURL

    at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)

    at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)

    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity (unknown Source)

    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion (unknown Source)

    at org.apache.xerces.parsers.XML11Configuration.parse (unknown Source)

    at org.apache.xerces.parsers.XML11Configuration.parse (unknown Source)

    at org.apache.xerces.parsers.XMLParser.parse (unknown Source)

    at org.apache.xerces.parsers.DOMParser.parse (unknown Source)

    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse (unknown Source)

    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)

    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)

    at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)

    to org.apache.axis.wsdl.gen.Parser$ WSDLRunnable.run (Parser.java:361)

    at java.lang.Thread.run(Thread.java:595)

    I don't think that the URL of the WSDL parameter can even accept a parameter as the username + password settings.

    Is this possible?  OR if not, how can this be achieved?

    Under the Service Web Options change 'The Option' use 'variable' instead of 'literal '. Then click the Green + and it will create a variable of type WebServiceSettingBean.

    You can use a setValue before the stage of web service to set this variable.

    Jasmine

  • For the purchase of key JDE poor customer service

    I wanted to share my story to see if I'm alone or not. On December 29 I tried to buy JDE code signing key. I filled the form and made sure everything was OK, and that I have provided a valid/active credit card. For some reason any when I sent the form, he says he was diminished, but the accusation has been approved by my credit card. I called customer service RIM and they opened a ticket. I sent them a copy of my statement online showing the approved authorization.

    The case was referred to a group called the masters of the customer team.

    A few days later, I called again to check the status and told me nobody had picked yet, so they raised the priority. A few days, no progress and a few strokes later, my ticket sat down with highest priority and 2nd highest severity. Finally, I was contacted by a person named Pauline in the operations of the account. Friday, I gave up and re - submit the form by using other card credit (per their request to provide new credit card information). I immediately informed by e-mail that I had done Pauline.

    I think it's ridiculous that this was such a hassle. The original transaction was approved, has not declined, but has never been published. Even after the publication of new and also valid credit card information, I always received no contact or something to say if my keys were going to be released.

    I wait up to 14 days for something that should never have been a problem in the first place.

    What should I do to get my keys?

    If somebody rim cares to help resolve this question, the ticket # is RQST00008427645.

    Thank you...

    FINALLY got my keys this morning... Makes me wonder if she had something to do with this thread or not. But anyway...

Maybe you are looking for