PE

Hi 

I need to do a script linked with apg process

The apg will call a script to copy a model from as is folder to tobe folder

I wold like to now how to pass the process name from apg to the script.

Can everyone help me?

 

Thanks a lot 

by Didier Nowak
Posted on Tue, 02/20/2018 - 13:21

Hi Priscila,

You can use the "User defined properties" in the dataflow to insert variables.

You have to use the "create collection" operator, so you can give a name to each parameter.

In the report then, you can use Context.getProperty("your property name"); and you'll have your property value

Hope that helps,

Regards,

Didier

 

0
by Priscila Engiel Author
Posted on Tue, 02/20/2018 - 23:04

In reply to by dinow

Hi Didier

Thanks, the tip helps me a lot, but even so, I can"t get the parameter.

Can you send me an example?

Thanks a lot

 

0
by Didier Nowak
Posted on Wed, 02/21/2018 - 10:01

Hi Priscila,

Here's an example:

In this example, the value of c_APG_ACR_Usergroup is "Usergroup"

The value of the variable v_ProjectName can be retreived in the report by using Context.getProperty("Usergroup")

Regards,

Didier

1
by Priscila Engiel Author
Posted on Wed, 02/21/2018 - 18:10

Hi Didier

Thanks a lot!!!

I got it!!

Best regards

Priscila

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks
  • Profile picture for user frankweise
  • Profile picture for user Henrik Buckler
  • Profile picture for user UffeK
  • SS
  • MZ
  • PacMan

Leaderboard

|
Nobody has collected any points yet this week. This is your chance to become one of the top 5 on this week's 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