workflow ActionRunTest;
function main(s as selection) as navigation {
var result as navigation;
foreach k in ui->getKeys(s) {
var runKey = test->run(k);
result.openEditViewKey = runKey;
result.openEditView = "wfTestRunEditor";
}
return result;
}
workflow ActionRunTest;
function main(s as selection) as navigation {
var result as navigation;
result.message = "Hello world...";
return result;
}
workflow ActionRunTest;
function main(s as selection) as navigation {
var result as navigation;
result.storageFileKey = 100;
result.storageFileDownload = true; //Download
return result;
}
workflow ActionRunTest;
function main(s as selection) as navigation {
var result as navigation;
result.storageFileKey = 100;
result.storageFileDownload = false; //Just display, do not download
return result;
}
type navigation {
var openEditView as string;
var openEditViewKey as int;
var storageFileKey as int;
var storageFileDownload as boolean;
var message as string;}
Every entity can have many configured actions.
There are two options for configuring the entity actions.
Select the Actions tab and click the Add button.
If the entity action already exists, select it from the list in the field Action.
If the entity action doesn't exist, click the navigate arrow next to the Action field.
Under the Entity action section, fill the following fields:
If there are any inputs required for the action, under the Inputs section, click the Add button and fill the following fields:
Save the new entity action, then save the edit view.
Click the Develop app, and then click on the Entity action section.
Click the Add button located above the list and enter the following:
If there are any inputs required for the action, under the Inputs section, click the Add button and fill the following fields:
Save the new entity action.
For adding the entity action on the edit view:
Catalogs
A catalog is a type of entity that can be related to another entity and it defines a set of options. When a catalog is displayed in an edit-view it uses a drop-down list control. Sometimes catalogs are called picklists by developers.
Environment variables
Environment variables are used in UI customizations. Depending on the context there are more or less variables available.