GitHub user LittleSaya added a comment to the discussion: How could I change a variable defined in JVM scope in JavaScript Action?
Ok, found a solution to my specific requirement which may not fit in other circumstances: Create a file for each processed table, and count the number of files in that folder, for example: If I have 3 tables: `table_aaa`, `table_bbb`, `table_ccc`, I create one file for each of them: ``` ${PROJECT_HOME}/count/table_aaa ${PROJECT_HOME}/count/table_bbb ${PROJECT_HOME}/count/table_ccc ``` then I count the number of file in `${PROJECT_HOME}/count`. Basically this moves the variable out of Hop. A more general approach may be invoking a shell script to calculate/write the variable then using Set Variable to read the variable. GitHub link: https://github.com/apache/hop/discussions/5181#discussioncomment-12849285 ---- This is an automatically sent email for users@hop.apache.org. To unsubscribe, please send an email to: users-unsubscr...@hop.apache.org