Profile picture for user Bradmq

Hi,

Does anyone have a script that can be run as a Windows Scheduled task that updates a database in publisher.  We'd like to be able to have it run every hour so that users and reviewers can see their work in the Publisher interface.

Thanks

Brad

by Adar Noy
Posted on Thu, 06/24/2010 - 12:48

Hi,

You can use the following method to create a report that updates the export: 

"

var oBusinessPublisher=Context.getComponent("BusinessPublisher");

oBusinessPublisher.updateExport( Database p_Database, String p_sWebAppServerAddress, String p_sExportName );

"

And then use "Script Runner" to run this report periodically. I think that every hour is too often and will affect your server performance.

Adar

0
by Brad MacQuarrie Author
Posted on Tue, 07/06/2010 - 16:56

Thanks Adar.  What is "Script Runner" and where can I get it?

 

Brad

0
by Adar Noy
Posted on Wed, 07/07/2010 - 07:30

Hi Brad,

Follow is information I got about Script Runner:

Scriptrunner allows the automated / scheduled execution of scripts on the ARIS Business Server or LOCAL server. The required key is an ARIS Business Architect  client key. If your server key key has the U<number of users> flag which means that it accepts unique keys only, the scriptrunner key must be different from all other keys . The key is stored in the file  "scriptrunner.cfg" in the entry

 # Licensekey to use scriptrunner.clientkey=

The name of the file  "scriptrunner.cfg"  is not mandatory and can be set in the file "scriptrunner.bat"  as a parameter . Scriptrunner.bat  is installed as a sample file  with the server setup.

 An installed ARIS client is required. Scriptrunner runs like a normal client against the server but is technically part of the server.jar

Hope that helps,

Adar

0
by Yaghwinder Bhatti
Posted on Mon, 02/04/2013 - 15:25

In reply to by mahlaoui

Hi,

 

I have the same requirement for automating the publishing process but i don't know how to go about it.

Can anyone do a bit of handholding for me?

 

Thanks

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

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