cancel
Showing results for 
Search instead for 
Did you mean: 
LeahS
Moderator Moderator
Moderator

Hello Community, 

The purpose of this post is to present the DS_EXEC_ANALYTIC template. Many of our KX Product users are eager to learn more about this template, and what better place to provide a demonstration than here on the KX Community!

What is the DS_EXEC_ANALYTIC Template? 

It is a process template built-in to the KX Platform - KX Control. Simply, it allows you to connect to another process, and schedule the execution of a provided analytic.

How can I implement this in my KX Product? 

Note: This guide is generic and should be adjusted accordingly.

1. Search DS_EXEC_ANALYTIC in Control

leah_marie_s_0-1642617786982.png

2. Right click, and select 'New Process Instance'

leah_marie_s_1-1642617881388.png

3. Name it, and select the relevant package

leah_marie_s_2-1642617933767.png

4. Click 'Add'

5. Move to Reserved Params. Here, you need to provide the host of the target process, .i.e. the process that you intend to connect to.

leah_marie_s_3-1642618048566.png

6. Move to Instance Params, prclInstance's value needs to be the target process. 

leah_marie_s_4-1642618198548.png

7. Also under Instance Params, the analyticName is to be the name of the analytic that will be executed, i.e. the supplied the analytic. Note that it is not required for this analytic to be loaded on the target process in advance. 

leah_marie_s_5-1642618484640.png

8. Now save this.

leah_marie_s_6-1642618625319.png

9. Search exec_demo_0 (or your chosen name) in Control

leah_marie_s_7-1642618683058.png

10. Right click, select 'New Task', and name it

leah_marie_s_8-1642618728832.png

The Instance and Package will be automatically correctly populated. It is not necessary to populate the Workflow. 

11. Click 'Add'

12. Enable 'Schedule Task'

leah_marie_s_9-1642618804981.png

13. Configure 'Start' and 'End' as per your preference. Select your favoured 'Frequency' option.

leah_marie_s_10-1642618901969.png

14. Save this task. 

 

This concludes the demonstration. 

I hope you have found this beneficial. As always, we welcome feedback and questions!

 

Happy Coding!

Leah 

Contributors