ARIS User Group Deutschland (German only)
Register
ARIS Process Mining in action - Live Demo
Register
AGNL Thema-sessie Architectuur (Dutch only)
Register

View all
GS

Hii all..

I'm trying to show only name of procedure in TOC.
Below is my code...

oOutput.Output("Procedure Name: " + "\n" , "Robot", 10, RGB(0,0,0), Constants.C_TRANSPARENT, Constants.FMT_LEFT, 0 );
oOutput.Output("Water Wash Procedure" + "\n" , "Robot", 10, RGB(0,0,0), Constants.C_TRANSPARENT, Constants.FMT_TOCENTRY1 | Constants.FMT_LEFT, 0 );

output => Procedure Name: 
                  Water Wash Procedure

In TOC it showing:
Procedure Name: Water Wash Procedure
 

I want to show in TOC only,  Water Wash Procedure

(I don't want empty line between Procedure Name: and Water Wash Procedure)

how can I fix this issue need your supports.

by Martin Schröder
Badge for 'Contributor' achievement
Posted on Tue, 08/13/2024 - 16:26

Hello Gautam,

as long as you use the Output method as per your example:

oOutput.Output("Water Wash Procedure" + "\n", ....

the new line (\n) is part of the value and as such written to the TOC.

You can try to separate the text from the following blank line:

oOutput.Output("Water Wash Procedure", "Robot", 10, RGB(0,0,0), Constants.C_TRANSPARENT, Constants.FMT_TOCENTRY1 | Constants.FMT_LEFT, 0 );
oOutput.OutputLn("" , "Robot", 10, RGB(0,0,0), Constants.C_TRANSPARENT | Constants.FMT_LEFT, 0 );

So only the String "Water Wash Procedure" should be marked as a TOC entry.

s. ARIS Scripting Help for more on Report class StandardOutputObject - Method OutputLn 
( <yourserver>/abs/help/en/script/ba/#/home/r_O_StandardOutputObject_outputln/en/1 )

Regards, Martin

1

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • Profile picture for user syarafuddinhilmi
  • 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