Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#815571
I am using Processmaker community and am wanting to find out if I can link fields between tables in PMTables ie: If I have an "Accounts" table adn a "Contacts" table, how do I include the Contacts under the Account?

How do I simply record an entry using a Dynaform I have created? Do I have to use code to tell it what to do with the fields when the submit button is pressed or can I draw a process for it? or is there a way it just knows to record an entry in PM tables? Nothing fancy, just record an entry.
#815572
You can use Dependent fields to link together values in a DynaForm with PM Tables in a query.
See: http://wiki.processmaker.com/3.1/Dependent_Fields

Also, see this example:
viewtopic.php?f=41&t=730771

If you want to write to a PM Table, you need need to use the executeQuery("INSERT ...") function in a trigger, which is executed after the Dynaform. You PM Table needs to have unique field to identify each record (which is normally called something like "ID"). If you don't want to generate the ID, then set the field to autoincrement when defining the PM Table and you won't have to include the ID field in your INSERT statement. See:
https://wiki.processmaker.com/3.0/PM_Ta ... m_Triggers
Case status draft

Alguien me puede ayudar? Mis casos siempre quedan […]

Download Processmaker version 3.8.3

Hello good people , anyone with Version 3.8. […]

Dappsfirm specializes in Poker Game Development, o[…]

Dappsfirm specializes in Keno Game Development, of[…]