One of a few ways, either have it call a method such as update and check a box or something. The other would be to use a data directive and change a value in a column with the button. You could also create an updateable dashboard and call the dashboard from the button and update the fields through that.
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-3119
FAX: (715)284-4084
[cid:1.234354861@...]<http://www.dsmfg.com/>
(Click the logo to view our site)<http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, September 04, 2014 2:53 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Fire a BPM from a custom button
How would I go about firing a BPM on a custom button? Basically, I want a BPM Data Form to open when a button is clicked, giving an input window for a couple UD fields. I know how to create the BPM & Data Form and I have the button added to my form, but I don't know how to format the Event Wizard or what method to fire the BPM on.
Currently, the button is coded as follows:
private void DieDetails_Click(object sender, System.EventArgs args)
{
MessageBox.Show("test");
}
Which does display the message, as expected. What would I need to replace "MessageBox.Show("test");" with to fire a BPM?
In case it is important, the button is being added to the Resource Group Maintenance screen, Resource panel, and is intended to launch a BPM Data Form to update fields in the Resource table.
[Non-text portions of this message have been removed]
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-3119
FAX: (715)284-4084
[cid:1.234354861@...]<http://www.dsmfg.com/>
(Click the logo to view our site)<http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, September 04, 2014 2:53 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Fire a BPM from a custom button
How would I go about firing a BPM on a custom button? Basically, I want a BPM Data Form to open when a button is clicked, giving an input window for a couple UD fields. I know how to create the BPM & Data Form and I have the button added to my form, but I don't know how to format the Event Wizard or what method to fire the BPM on.
Currently, the button is coded as follows:
private void DieDetails_Click(object sender, System.EventArgs args)
{
MessageBox.Show("test");
}
Which does display the message, as expected. What would I need to replace "MessageBox.Show("test");" with to fire a BPM?
In case it is important, the button is being added to the Resource Group Maintenance screen, Resource panel, and is intended to launch a BPM Data Form to update fields in the Resource table.
[Non-text portions of this message have been removed]