I'm trying create a transformation that can change field value in DB (postgreSQL what i use).
Case :
In postgre db I have table called Monitoring and it has several field like id, date, starttime, endtime, duration, transformation name, status, desc. All those value I get from Transformation Logging.
So, when I run the transformation it will insert into Monitoring table and set value for field status with Running. And when it done it will update the status into Finish. What I'm trying is to define value in table field by myself not take it from Transformation Logging so I can customize the value like I want to.
Goal is Update transformation status value from 'running' to 'finish/error/abort etc' in my db using pentaho and display that status in web app
I have thinking to used Modified Java Script step to do it but if there any other way maybe? A better one. (Just need opinion about this)
Monitoringtable is theTransformation Loggingtable, you'll be trapped in an auto-lock dead loop at the first attempt of updating the value. Additionally, the Logging system has the final word, so it will overwrite your update when the transformation finishes. - AlainDFinishproperly ? - AlainDAbortor stop etc and set theStatusfield value like I want. And for your info, I use theTransformation Loggingdata and insert it into my new table calledMonitoring(different table from Transformation Logging) so I can change the table when ever I want or need to. - Rio OdestilaUpdatestep and update theStatusfield but it doesn't work, the value in DB not change. - Rio Odestila