Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how do i catch exception in SIL

eric anier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2014

How do i catch exception in SIL with JJUPIN, i need to loop thru all users in a group to find the one who have this property "Division Head" and its value.

But for user that dont have this property it logs an exception on atlassian-jira.log

vDivisions = getUserProperty(vUser, "Division Head");

Although transition still continues but il logs a lot of exception

Thanks,

eric

1 answer

1 accepted

1 vote
Answer accepted
Florin Manaila
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2014

Hi Eric,

Unfortunately, you can't catch exceptions in SIL at the moment, but this feature will be available in SIL 3.0, which is still a few months away from release.

HTH

Florin Manaila
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2014

As a workaround, you can get the user using the http://confluence.kepler-rominfo.com/display/SIL/sqlroutine. The tables you need to look at are app_user, propertyentry (for the property name) and propertystring(for the property value). I would recommend you add a propterty to one of your users and then check these tables to see how the data is structured.

eric anier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 8, 2014

Yeah this was my solution for now.

thanks

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2014

I am looking forward to see support for exceptions! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Upcoming Apps & Integrations Events