cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Attributes for Scheduled Transactions (Background Jobs)

Former Member
0 Kudos

Hi,

I am trying to fetch the custom attributes for scheduled background jobs. Since we are not using the XAcute Queries to run the automatic jobs, we can't use the AUTOBIND property for custom attributes and hence can't fetch them in the scheduled transactions. Is there any way to retrieve the attributes while scheduling a transaction ?

Thanks,

Amit Rath

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The question is answered

Former Member
0 Kudos

Hi Amit,

a way that works: inside your transaction you can call a XML query that reads out the property list for a given user. In the URL of the XML query you can add the user by using the IllumLoginName parameter.

- create a XML query with the following URL:

http://<server>:<port>/XMII/PropertyAccessServlet?mode=list&Content-Type=text/xml&IllumLoginName=<User>&IllumLoginPassword=<Password>

- in your transaction, call the query. You can retrieve the value of the attribute with a XPath expression like this:

XML_propertyAccessServlet_0.Results{/Rowsets/Rowset/Row[Name='MyAttribute']/Value}

Interestingly, adding a User / Password in the Scheduler Editor of the job does not work (MII 12.0.2). Maybe this would be also an option for you to try.

Michael

Edited by: Michael Otto on Nov 9, 2010 8:27 AM