WebPD opened editors limit modification

webpd-limit-1

IDE environment in IBM BPM migrated from Eclipse-based app to WebPD, a web-based process editor. WebPD built on top of IBM BPM Coach Framework, based on dojo toolkit, hosting complex visual editors suffers from performance and stability issues. It can simply reload itself mid your work (because of some internal broken assertion), editor can stuck and manual reload is needed etc. The more artifacts opened the less stable it is. To limit resource consumption and countermeasure poor experience IBM introduced limit of 10 simultaneously opened artifacts. Fine. Unless you run BPM debug session that opens dozen of nested artifacts and fails badly. Then either you stay out of luck or you hack it this way. Continue reading

Posted in Software | Tagged | Leave a comment

Bumpy ride: webworkers, IE11 and BPM

webworker-icon

Internet Explorer – a black sheep amongst browsers – should be forgotten long ago, yet it stands strong as a standard in many organizations. And while its last incarnation (IE11) adopted some modern web technologies it still offers lurking traps ready to ruin your day. Consider allegedly supported webworkers: when created from Blob IE11 cannot load any resources via XHR and when attempted to be created from separate JS file, IE11 will fail with specfic response headers. All these gotchas combined with headaches of IBM BPM got me to tipping point for sharing my thoughs here. Continue reading

Posted in Software | Tagged | Leave a comment

Coach validation errors in one place

Collecting errors in one place as marked (3)

Imagine you want to see all IBM BPM coach validation errors in one place. By default after validation phase you need to find all invalidated widgets one by one, changing tab or opening accordions, and so on. Coach framework does not give any programmatic tool to get all validation messages from inside of coach view. While SPARK / BPMUI library gives some helper functions it does not cover all cases. Here I discuss simple way to plug-in to (or hack) coach engine and SPARK library to collect all validations at once. Continue reading

Posted in Software | Tagged | Leave a comment

Chinese LED bulbs fail

Sometimes cracked LED

Some time ago I have replaced most of light bulbs with LED bulbs. Typically these imported directly from China were significanlty cheaper so that I gave them a try. LED diodes can work thousands of hours without an issue, right? Unfortunatelly not in this case. Less then hundred workhours later one by another started flickering just to stop turning on soon after that. Each LEDs bulb stopped due to burnt LED. I tried not to give up for really long time. Until another broken LED last week.
Continue reading

Posted in Electronics | Leave a comment

Stinging Mac

50V AC when touching charging Macbook

For a long time I was ignoring that tingling feeling where my forearm was touching Macbook while typing on second laptop. Sensation that was sometimes closer to stinging, as if tiny hair was pulled of my skin. It happen at home, in the office, just from time to time. Always when bare skin was laying down on aluminum casing of Mac. When I finally realized it happens always when Mac is plugged thru adapter to mains I took closer look. Does Macbook Air 2012 suffer from grounding issues giving me some noticeable residual AC voltage enough to irritate the skin? Continue reading

Posted in Electronics, Gadgets | Leave a comment

Magic smoke out of fridge

fridge-icon

When fridge got me popping sound and display turned black, I realized that 10 years old Whirlpool went out of service. My “damn it” comment was quickly followed by my wife: “You are going abroad next week! What we do now?”.  Considering subtle smell of magic smoke I felt next to fridge’s back, I knew any repair shop will simply get me new control module, and these are overpriced, sometimes nearly 1/3 of appliance cost. The choice was easy: fix it or get a new fridge, next day.

Continue reading

Posted in Electronics | Leave a comment

Trap in BPM new event handler editor

eh_icon

Early 2017 cumulative fix for IBM BPM 8.5.7 brought new section in properties for coach views configuration – events tab. This looks like a wink at SPARK toolkit being integrated with BPM product. SPARK introduced nice concept of configuration options storing Javascript code created outside of coach views, events code as one of them. Configuration option was limited to one line string however. New editor in events tab is multi-line with code coloring. It has also nasty trap for young players though, let’s take a look. Continue reading

Posted in Software | Tagged | Leave a comment

Like father like son

It is easy to notice that for last ten months I was away from my blog. There is a growing reason for it: my little fellow. For first few months after birth of Jackie I could split time between family, work and hobby. His recent addiction to whatever dad hides from me effectively keeps me away from workbench. Continue reading

Posted in Anything else | Leave a comment

Intercepting Boundary Events in Coach View

be-boundary-event

Boundary Event is core concept of UI technology in IBM BPM: any visual element (coach view) of screen (coach) can fire such event moving control from current screen to some other place, crossing “screen boundary“. In fact Boundary Event is the only way to make such transition on diagram of coaches. Problem is that IBM BPM event model is trivial and does not allow virtually any interference with event in progress, one cannot change event bubbling or handle it in try-catch manner. Find how I bypassed this limitation and implemented events interceptor.

Continue reading

Posted in Software | Tagged | Leave a comment

Custom container with SPARK UI toolkit

spark-layout

Salientprocess acquisition by IBM will make SPARK toolkit core part of IBM BPM in future release. SPARK introduces some nice new concepts, one of it is addressing that keeps SPARK containers invisible. Its public API promises to make your own coach view a container and I needed it on my code. So I tried and it did not work. Few hours of experiments with debugging SPARK code led me to workaround and defect report. Continue reading

Posted in Software | Tagged | 3 Comments