Skip to main content

Posts

How to Fix: CWTBG0586E: Cannot start BPD because the snapshot or BPD is in the wrong state. Status : 409

Reason: This issue comes when you are trying to start a process using rest API but that snapshot is not activated. Mostly this issue comes in development environment. Solution(When Process Designer is available):- Step 1 :- Go to process designer. Step 2 :- Click on your process App name. Step 3 :- Click on the down "Arrow" symbol which is placed just right side of the snapshot name. Step 4:- Select "Activate" option. Solution (When Process Designer is not available):- Step 1:- Open process Admin with proper authorization. Step 2:- Select the installed process app. Step 3:- Activate the process App.
Recent posts

How to Fix :Error: The execution context was not saved due to the following error: CWTBG0019E

Why do you get this error ? This error comes when you are assigning some value to a tw.local variable in CSHS(Client Side Human Service) ,but that variable in not yet created or type is mismatch with the value being assigned. Solution:- Whenever you get this error, then follow these steps: Step 1:In CSHS recognise the line flow in which this error is coming. Step 2:Starting from first line ,implement : Check both options. Save execution context for task implementation: Update shared business objects when saving the execution context: Step 3: Run the flow ,if error comes again then buggy code is in Javascript written just before the line.Otherwise continue the same to next line. Step 4:Remove Save execution context after bug fixing as per your requirements.

Character limit of Name and Subject of User Activity in IBM BPM

Why do you need this ? Whenever you input very long text in Name  or  Subject of an User Activity in IBM BPM it will throw and error and will not let you launch the step. Solution: Max-length limit of User Activity Step Name:128 characters. Max-length limit of User Activity Step Subject:255 characters.

How to Fix issue of Dialog box not showing read only text box, text area,table in IBM BPM 8.5.7

Why do you need this ? If you want to show text box ,text area on table in Dialog box in read only mode then it does not appear. Problem : Solution: Change view of Textbox,Text Area or Table from Responsive coaches to Coaches . Result : We can see text Field now. Note : Responsive Coaches Toolkit is in 8.5.7 version but Coaches is in 8.5.6 (That's why it will show deprecated).

How to Save page content on Button Click in IBM BPM

Why do you need this ? Sometimes user need as button with functionality of saving his/her work and later he/she needs to open & continue the work again without losing his/her work. Step 1: Create a Client Side Human Service with one Text Box (In this case "Data") and a button (In this case "Save") in its Coach. Step 2: Create one variable ( In this case Data ) and bind it with text box. Step 3 :In Diagram Tab drag & Drop one Intermediate Event . Step 4 :Bind this event with " Save " button. Now run the CSHS(Client Side Human Service) and Enter some data in Text Box & click on Save. After that Refresh the screen ,you wont loose your data which you have entered in Text Box.

Move token using Rest API in IBM BPM

Why do you need this ? There can be multiple reasons to move token, like:- Suppose you are on a step and after some action "Save execution context" is implemented in between, then you need to move the token and point to the same step. Step 1: Open Rest API Select " Business Process Manager REST APIs" ,then select " Process API ", then select "Current State". Step 2: Enter Process Instance Id (In this case-670) & then Click on Execute Call. Step 3 :Look for Token Id (In this case Token Id-5) Step 4 : Look for Source Step Id (In this case - a0649e22-26fc-4529-8055-9775b6eae14c) Step 5 : In Process API list Click on " Move Token ". Step 6: Fill Process Instance ID,Token ID & Target Step Id , Then  click on execute call . Step 7 :Status 200 shows that Token moved successfully.