Flow of work presentation action causes the "presentation presentation processing, please wait."

I have a workflow with a string field I want to offer as a dropdown of the results of a SQL database. I created an action to query data that is passed to a value of SQL: Database. The action script is below to:

Queries on MGMTDB

var results = new Array();

var SingleResult;

var query = 'SELECT TemplateOS, TemplateVersion FROM TableName';

var QueryResults = MGMTDB.readCustomQuery (query);

for each (QueryResults SingleResult)

{

model var = SingleResult.getProperty ("TemplateOS") + "" + SingleResult.getProperty ("TemplateVersion");

System.Debug ("getTemplateNames:" + model);

Results.push (template);

}

return results;

However, as soon as I add the action to a property of presentation, the work flow forever "presentation of treatment." The action itself works fairly quickly. I've added it to a workflow of test as part of his scheme, and I retrieve the table desired channels instantly. It is only when it is used for the presentation he gives me a problem.

Anyone has any ideas, what happens?

This field is then used to calculate other areas? The issue may be that when first load your presentation can try to calculate the fields using entries zero. One way to avoid mistakes is to test the input null in every action parameters and returns the null value.

Tags: VMware

Similar Questions

Maybe you are looking for