0 votes
2.1k views
in Toolkits by (21.6k points)

3 Answers

0 votes
by (2.1k points)

I have crude way of doing this "search for string " in a IBM BPM Process App which is not performed at backend. I use this approach to lookup for some string literals in a larg BPD that has too many services to inspect one at a time. This is a way of narrowing down the services that have string. This involves using grep command 

1. Export the process App in which you want to lookup for string and unzip to a folder.

2. CD to "objects" folder in cygwin (windows linux kind of shell) and run following command

for f in *;do grep -q 'stringToSearch' $f && grep -i -H process\ id= $f; done >> ..\\..\\services-that-have-match.txt 

Services that have the match are in the output file.

0 votes
by (16.3k points)
edited by

There is this utility called TWXUsage which can be used to thoroughly search and identify the artifact where the search string exists, also it has where used, process application structure and snapshot comparison. It can use a downloaded twx or connect to Process Center to download one. Direct query against process server is not recommended due to performance impact and slowness of the queries since it searches through clob data.

https://git.ng.bluemix.net/bpm-TWXUsage/default

it has both GUI and command line invocations uses java7 for gui.

+2 votes
by (1.3k points)
export twx file and extract it to local folder, then you can use text search tools to search arbitary strings
by (21.6k points)
you can use tools like notepad++ to search for multiple files in the unzipped files of the twx

Related questions

0 votes
0 answers 295 views
0 votes
2 answers 6.5k views
0 votes
1 answer 626 views
0 votes
0 answers 362 views
0 votes
0 answers 758 views
0 votes
1 answer 771 views
0 votes
3 answers 2.8k views

635 questions

495 answers

98 comments

3.0k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...