Please enable JavaScript to view this site.

InterFormNG2 Manual

As a part of spooled file processing in InterFormNG2 on the IBM i platform, you might want to change one or more spooled file attributes of the input spooled file to let the end user know, that the specific spooled file has been successfully processed.

 

You can also change a spooled file attribute, that is used in a condition in the workflow to prevent the same spooled file to be processed again, if someone should hold and release the input spooled file.

 

A similar workflow component is the Post-process spooled file. If you want to set specific attributes of an merged/output spooled file, then you should check out the workflow component, AS400 Print Attribute Options.

 

The change attributes of spooled file workflow component is found under the advanced other workflow components.

 

The component has these parameters:

 

NG2ChangeAttrOfSplf0001

 

There are 3 sets of spooled file attributes, that can be set in a single component. If you want to change more, then you can insert multiple Change attributes of spooled file components.

 

Spooled file attribute

On the left you refer to one of the supported spooled file attributes. You can select between these attributes:

Form type

User specified data (user data)

User defined data field

Output queue

Starting page

Ending page

Total copies

Source drawer

 

Attribute value

Here you set the value to assign to the spooled file attribute. The value can be a constant like above, but it can also be an XPath expression (click the T-icon on the right) to define a dynamic expression, that calculates the value to be saved in the attribute on the right.

 

In the example above the form type is set to *STD, User data is set to 'Printed' and the copies attribute is set to a single copy.