0 votes
424 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 (16k 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
2 answers 283 views
0 votes
1 answer 158 views
0 votes
0 answers 40 views
0 votes
0 answers 41 views
0 votes
1 answer 94 views
0 votes
3 answers 179 views

580 questions

482 answers

85 comments

1.7k users

Dosvak IBM BPM /BAW Products, Download Evaluation
Process & Performance Tools Process & Performance Tools
Code Analyzer Code Analyzer
UI Toolkit UI Toolkit
Integration Monitoring Integration Monitoring
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
...