BDM

losing bdm when importing bos

when I import a diagram (bos) , I lose my bdm data that I was working on before importing. Is this normal behavior? If so, how do I preserve my data when changing projects?

Populate Instantiation Form with BDM Data

I have a specific requirement to populate my instantiation form BDM contract with the previous BDM's data

However as the BDM's initBDM() default script runs after the Instantiation form, it doesn't seem possible.

Any one have any easy to implement thoughts on how to accomplish this?

Many thanks and best regards
Seán

Is it possible to update a record in BDM by UI Designer?

I am displaying in a table in the UI Designer the information from my BDM, and I would like when changing the BDM information by UI Designer that same information would be changed in BDM too, is it possible? If so, how can I do this?

Link para Image

The image shows how my UI Designer is currently

Remove item from BDM

How to remove a certain item from BDM through a script in Groovy?
I can access my BDM Logs but I can not delete them, how can I do this?

I'm getting the data from my PostgreSQL database and saving in my BDM to be able to display this data in a table in my UI Designer, that's fine, but I do not want the same information to be added twice in BDM, for that reason I created this script that checks if the information that is being fetched from my external database is no longer added in BDM

How to access attributes stored in a List business variable?

I have a business variable that receives the data that is stored in my BDM, after that I need to access the values ​​of that variable, for example, this variable receives the names of my carriers, how can I check for names of carriers that are being repeated?

How to compare two business variables?

I'm selecting a record from an external PostgreSQL Database, and saving the information in my BDM, however I want the BDM records not to be duplicate, I currently have two business variables, one that gets the information from my BDM and another Which receives the records from my external database, I need to compare those variables to add in my BDM only record that are not already contained in it.

How could I do that?

I have the link to my .BOS file if you can help me, I thank you.

How to display BDM in table

I need to display the records that are in my BDM in UI Designer, so far I have only been able to display what is in my process variable, through the following code:
../API/bpm/caseVariable/{{task.caseId}}/listaTransportadoras

However I need to display my BDM records in a table in the UI Designer, how can I do this?

I tried to create an API like this:

../{{context.transportadoras_ref.link}}

And I called the attributes of my BDM like this:

retorno.status

How to display BDM records in UI Designer?

I need to display the records that are in my BDM in UI Designer, so far I have only been able to display what is in my process variable, through the following code:

../API/bpm/caseVariable/{{task.caseId}}/listaTransportadoras

However I need to display my BDM records in a table in the UI Designer, how can I do this?

I tried to create an API like this:

../{{context.transportadoras_ref.link}}

And I called the attributes of my BDM like this:

retorno.status

Is it possible to have two business variables in one just process?

I have two BDMs, each to receive the respective records from different tables, I generated a script that worked perfectly to add the records in a BDM, however if I try to add two Business Variables to my process, I can not save the records in the second BDM , My question at the end is, I can have two business variables in a single pool?

My log Error:

Failed to get information in bdm and used it in operations.

Hi,

I am getting the max value of a certain column in bdm table using custom query with parameter. Then I call the query using DAO and used it in the operations once the manager have approved the task. But when i run the task it always fails. I set the petCashNo to store a new series of pet cash no. Just want to create a petcash series number

This is my custom query

SELECT MAX(p.petCashNo)
FROM PettyCashHeader p
WHERE p.branch = :branch

Return of custom query is single

This is how i call my query in operations

Testing
Notifications