Run job using x++

Here is sample code to run job using x++

Args args;

args = new Args();

args.name(identifierStr(testJob));
new MenuFunction(menuItemActionStr(testJob), MenuItemType::Action).run();

Advertisements

2 thoughts on “Run job using x++

    • Hi,

      Thank you for pointing the error, In this example I am not using Args , The last line can do the work for you. If we need to pass any parameter while opening the Form then we can use it as an args.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s