0 votes
1.6k views
in Toolkits by (21.5k 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.5k 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 209 views
0 votes
2 answers 3.7k views
0 votes
1 answer 471 views
0 votes
0 answers 286 views
0 votes
0 answers 497 views
0 votes
1 answer 567 views
0 votes
3 answers 2.2k views

634 questions

495 answers

97 comments

2.7k 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
...