September 21, 2018

Custom Actions & Smart Links

Actions

This feature can be used to allow users to perform some actions like triggering an agent for a list of transactions.

Example scenario: Trigger an INVOICE agent when user selects a custom action 'Reprocess Invoice' from the UI on the user selected list of invoices.

Below are the setups required:

Login as DBA.ADMIN to create a label.
Configuration and Administration > User Configuration > Label Manager


Login to transactions domain as ADMIN now and create a custom action to call the agent.
Configuration and Administration > User Configuration > Actions Manager
Enter below details:
Action = Give some name to the action
Label=Give name of label created in earlier step
Action Definition ID=RUN_AGENT_INVOICE
Agent ID=Select the name of the agent that should trigger.

Note: Here agent is being called by name rather than the event. So make sure if you are creating new version of the agent, you need to come back and update this custom action with new agent name.

Now, as a final step - add this action to your screen set.
Configuration and Administration > User Configuration > Screen set Manager > Query the screen set for which you need to add custom action > Go to 'Actions' tab > Select 'Top' on hierarchy list and click '+' button > Select 'Add Actions' > In the 'Actions' drop down you should see label you associated to the new action - select it > Save.

Test:
Open your custom manager layout and select few invoices > click 'Actions' button > Select the action label.

This should trigger the agent on the invoices selected.

Smart Links

•Steps for creating Smart links are similar to creating Action.

•In the screen set, there is tab ‘Smart Links’ next to ‘Actions’. You need to add the custom action here, so that it appears as smart link.

•Difference between Smart links and actions:

Actions can work on group of transactions. Say for example, you can select 10 order releases and bulk them together. Here Bulk Plan is defined as an action.
Smart link will work on specific selected transaction. For example, you can select specific order release and say ‘Related Buy Shipment’. This will fetch list of shipments associated with that specific Order Release.








8 comments:

  1. I could not resist commenting. Well written!

    ReplyDelete
  2. Very good article. I definitely appreciate this site.

    Thanks!

    ReplyDelete
  3. You reported that terrifically.

    ReplyDelete
  4. Pretty! This has been an extremely wonderful post.
    Thanks for supplying this info.

    ReplyDelete
  5. Appreciate this post. Let me try it out.

    ReplyDelete
  6. Hi can you post about Milestone monitor and recurring process topics in OTM ? i did check the help but not really simple and easy to understand

    ReplyDelete
  7. Very helpful! Thank youuu.

    ReplyDelete
  8. Magnificent mater

    ReplyDelete