ARIS Super User Group
Register

View all
Profile picture for user raviteja.avvari

Hello again Process Mining user,

Thank you so much for the likes to the previous article about our scripted columns where we showcased how to calculate throughput time dynamically between 2 activities chosen by user.

In case you have not read it yet, please find the link below. Before you proceed with this post, it’s worth checking the previous where basics are covered.

Scripted columns in ARIS Process Mining

Now that we have learnt how to use variables and parameters and respond to user’s input, we shall here see more examples of the usage.

Scenario: Calculate the process costs.

This is one of the most common scenarios where user’s having to calculate the cost of the process to make a sense of how the changes in throughput time impact the business. Let us see how it is done below.

To calculate the process costs, we should let the user enter a cost per hour and use the value to showcase the output.

For this we would need an input box where a user can enter the hourly cost rate.

Let us assign a variable with some initial value to this input and name it “Process_Cost”. We use this variable to store the user input and pass it to the parameter for calculation.

To show the calculated process cost, let us add a label component and assign it a scripted column which takes the input entered by the user. To create this scripted column, we add a label component and add a measure. On the top left of the screen to add a measure we can see a possibility to add a new field

Let us click on add a new filed and select Case as we want to create a case column and in the next step chose our new code editor capability. Here we enter the below mentioned code snippet which takes the "Process_Hourly_Cost" as the parameter and multiplies it by the sum of case duration for each activity of each case.

(TO_DOUBLE(${Process_Hourly_Cost}) * (PU_SUM("_ARIS.Case", "_ARIS.Activity","_ARIS.Activity"."Activity duration"))/1000)/3600

This can now be presented over multiple aggregations like average cost of median cost etc.

Happy Process Mining!

See you soon with another scenario.

by Julian Krumeich
Posted on Fri, 03/24/2023 - 17:51

Love this Ravi! This is really a great series!

1

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock