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
Discussion posts and replies are publicly visible
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
Thanks 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!
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.
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.
Thanks Ram K for your response.
Thank you again for your guidance. I agree with your suggestion .. i should stop comparing Appian with Java/IBM BPM and learn Appian as a beginner.