Skip to main content
July 15, 2021
Question

Add Custom log

  • July 15, 2021
  • 6 replies
  • 0 views

Hello All,

I am new to Appian world , i am trying to find a way to add custom log at the code level i.e. console.log("** Testing my component ** ",somedata).

please can you guide me.

Thanks,

Gaurav

6 replies

acaciob0002
July 15, 2021

HI Gaurav,

AFAIK there is no OOB console log on Appian. 

What is your requirement? Because you can see the data that you are handling in many ways, for example you can see the local variables values when editing an Interface or expression rule, and you also can see the Process Variables in the process model monitoring. 

Regards,

Acacio B

July 15, 2021

Thanks [mention:663f61f687054c48a8709b34ca84fcaf:e9ed411860ed4f2ba0265705b8793d05] for your response.

Actually i am from Java & IBM BPM background and joined Appian project recently.

we usually use System.out.print or console.log to add our custom logs to verify or debug components in upper environments.

I am wondering how to debug any components or service in Production and suppose if we need to validate any value in production environment then are we using Process Model monitoring for the same?

Thanks!

July 15, 2021

Hi Gaurav,

Yes, In IBM BPM we have logs in console and also can inject data using rest apis there and we can't 

But in Appian you can see data in Monitoring mode of Process Model and see data in Process variables to debug what is going wrong or to debug for active and running and failed instances too.

stefanhelzle0001
Brainy
July 15, 2021

There is a plugin doing this.

https://community.appian.com/b/appmarket/posts/log-a-message

But I suggest to change your way of working and go with what Appian has to offer.

July 15, 2021

Thank you again [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05] for your guidance. I agree with your suggestion .. i should stop comparing Appian with Java/IBM BPM  and learn Appian as a beginner.[emoticon:1435ff2429184e17bc948e4f19178e1e]