Monday, March 4, 2013

Oracle IPM: Customizing AXF Task Details page – Add new actions: Invoke Outcome

This blog guides you to add functionality to the existing composites. There are 3 different type of actions configurable with Oracle provided AP Solution Accelerator.

  • Invoke “outcome” of human task
  • Do validations, like Transaction id is blank.
  • Allow user to pick user/ Group from list.

The below description focuses on “invoke outcome”. Remaining type of actions and its details will follow on next blogs.

For each solution namespace (can be analogous to BPEL composite, most of the times) that you create, there is an AXF Tasklist page (url has “cmd=Start<SOLN_NAMESPACE>&sol=<SOLN_NAMESPACE>” – assuming that you have already made the database entries for Start<SOLUTION_NAMESPACE>. If not, do not worry, there will soon be another article explaining how to do that) where the end user is provided with the option to take any of the actions that you have configured in your BPEL Human Task. The AXF task list page for a particular Solution Namespace and Command Namespace provides you with all the instances of invoices currently under a particular view.

View Task opens the AXF Task Details page, which has some actions in the left side bar.

In case you want more flexibility with these actions, you need to do some data manipulations in the AXF Database, using the DEV_IPM schema.

Let us first look at the tables in this story:

     1.      AXF_ACTION_MENU

In this table, the entry for Solution_Namespace is made.
Menu_ID is auto incremented using a sequence (AXF_ACTION_MENU_SEQ).
Rest all the entries are to be done as they are for other rows.

     2.       AXF_ACTIONS

This table maps the actions displayed on the UI. For each action displayed on the UI, there is a corresponding COMMAND_NAMESPACE entry here in this table.

Action_ID is again auto incremented using the sequence AXF_ACTIONS_SEQ.
Display_Text is the label you want to give your action on the UI.
Menu_Order acts as a rendering switch – 0 means visible and other values means not rendered.
Menu_ID is the same as the one in the AXF_ACTION_MENU table, for the Solution_Namespace.

     3.       AXF_COMMANDS

In this table a command class is configured for your Solution Namespace and Command Namespace. Usually, it depends upon what your action actually does. For example, oracle.imaging.axf.commands.bpel.CompleteTaskCommand is used when the action signifies completion of a flow or a sub flow. oracle.imaging.axf.commands.bpel.OpenTaskCommand is used when a new flow is initiated. Here, for a new action, you will need the following entries:

<Command Namespace you entered in AXF_ACTIONS>    

     4.       AXF_SOLUTIONS

AXF_SOLUTIONS consists of a SOLUTION_CONTEXT entry, which is usually the same for all the Solution Namespaces, namely, ejb.AxfCommandMediator#oracle.imaging.axf.service.AxfCommandMediatorRemote.


This perhaps is the most important table because is maps the outcomes of various actions for consumption by either your BPEL process or by AXF internally. Let’s have a closer look at the values that need to be entered here, and what they represent.

For each Command Namespace (i.e. the action you want to add to the UI), there will be 3 entries, which will have the following values:

On the AXF Worklist page, there is an Auto Task button, clicking which open up all tasks in the list in serial order for appropriate actions to be taken by the user. The CMD_AUTOTASK_OFF parameter key’s value will redirect AXF view to the default starting point of your AXF flow in the case when the Auto Task function is not available to the user.

CMD_AUTOTASK_ON points to AutoOpenTask, which is nothing but another Command Namespace created as a part of the Start<Solution_Namespace> entries. The details for AutoOpenTask are as follows:

If you are creating a new composite and don’t have the Start<SolutionNamespace> entries in place, then you will have to do that first.

OUTCOME maps to the value which your BPEL flow is expecting as a return value from the Human Task in this case.

PS: Please note that you are not supposed to create the entries for AutoOpenTask as a part of this exercise. It is a separate topic, and will be addressed in another post.


In this table, there are 3 entries that are required. There is a snapshot of the actual data below:

< SolutionNamespace>
SOA Server
< SolutionNamespace>
< SolutionNamespace>

The keys CONNECTION_PROVIDER and USE_AUTOTASK_LOCKING are given the standard values, as in the snapshot. BPEL_CONNECTION is the name of the connection that is created for the SOA Server in IPM UI.

Once the entries are made using values that we are supposed to enter in various tables as described above, there is one final step that remains to be done for the changes to reflect on the AXF Task details page.

Open the IPM Drivers UI (http://<your_server_ip>:16000/imaging/faces/Driver.jspx). The page that looks like this:

Enter the Solution Namespace, Command Namespace (Remember, the Start<SolutionNamespace> command namespace. And yes, it is a Command Namespace, though it is never shown as an action on the Task details page!!!) and the user name.

Click on Execute Request.
Click on Clear Configuration Cache.
Click on Reset DMS Metrics.
Click on Execute Response. This shall open your AXF Tasklist page in a new tab, and you should be able to see the newly added action on the details page.

Thanks all for reading!


  1. You can easily buy essays cheap at this site without any problems. Be sure of it!

  2. Link routers..Cisco Router Customer Service
    Our highly trained service providers will make sure your problem is resolved in the quickest manner.

  3. Great this article is very helpful. Thank you for the valuable information.
    Find Out More


  4. After this brings up its clients get entertained well with its premium services, the Escorts Service in Gurgaonis liable to increase the level of fun by its quality services dissimilar to get anywhere. So, let us forget everything and take pleasure in what you wait for a long time. Check our other Services...
    Escorts Service in Gurgaon
    Escorts Service in Gurgaon
    Escorts Service in Gurgaon
    Escorts Service in Gurgaon
    Escorts Service in Gurgaon

  5. My travel life have been easier with Garmin Express. Plus I can get all the additional knowledge through their blogs. I use the Garmin app and is totally upto the mark. I recommend everyone to use Garmin Map Update and get Garmin life time map update or call +1-888-309-0939 for instant help from Garmin GPS experts.

  6. I did not know the entire benefits of Garmin Nuvi Update. But since I have read this blog on map update, I have installed all available updates for my garmin device. I must say that this piece of blog has helped me improve navigation experience. I am not suggesting all my friends to read this blog and get with this team. For detailed information, you can contact us at toll-free number +1 888-309-0939. Our Garmin GPS professionals will provide instant help.

  7. Your blog is very good and very informative. Your blog post is very useful. It is exceptionally accommodating for me I learn new information from your post. I truly love your blog post.Thank you for sharing this post with us keep it up.
    Topic Generator
    Write my assignment
    Harvard referencing generator
    Thesis Writing


  8. Huge variety of Delhi Escorts girls Service on Daily Basis
    If you book our Delhi Escorts girls then our escort agency will arrange your date with a girl who can easily fulfill your every sexual wild desire and give some extraordinary sexual pleasure. They can go long drive, parties, clubs, pubs, and other areas with you just to give you some GFE( girlfriend experience services).
    Delhi Escorts
    Delhi Escorts

  9. Sand impacting framework is find inside the tremendous assortment of the business it is use inside the all sort of the undertaking automatic sand blasting machine

  10. The purpose of using sand blasting machinePortable Abrasive Blasting Machine in India is to provide satisfaction to their client's products if there are some undesirable or some kind of particle which are going to damage the material in future, so in sand blasting industry in India, it is always made sure that first the material is fully protected by the damages which could occur in future and deploy the material performance and become problematic situations for the clients.

  11. Accountants are chartered accountants in London, providing support to thousands of freelancers, contractors, e-commerce and SME's.Accountants London

  12. Today, websites are the most important part of all business growth. This is because nearly 70 percent of the world is addicted to the Internet and everything online.