<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.czechidm.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.czechidm.com/feed.php">
        <title>IdStory Identity Manager - faq:scripts</title>
        <description></description>
        <link>https://wiki.czechidm.com/</link>
        <image rdf:resource="https://wiki.czechidm.com/_media/wiki/logo.png" />
       <dc:date>2026-05-08T17:14:23+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.czechidm.com/faq/scripts/error_while_saving_entity_groovy_script_exception_-_script_call_script_from_invalid_category?rev=1497264990&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.czechidm.com/faq/scripts/groovy_script_did_not_pass_safety_check?rev=1497265026&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.czechidm.com/faq/scripts/i_dont_see_my_script_in_the_selection?rev=1497264515&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.czechidm.com/faq/scripts/null_value_in_groovy_scripts?rev=1501763192&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.czechidm.com/faq/scripts/script_can_not_be_saved_through_agenda_-_groovy_script_contains_compile_error?rev=1497264893&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.czechidm.com/faq/scripts/start?rev=1497264838&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.czechidm.com/faq/scripts/the_application_still_reports_an_error_groovy_script_did_not_pass_safety_check_even_though_the_script_has_permissions?rev=1560341072&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.czechidm.com/_media/wiki/logo.png">
        <title>IdStory Identity Manager</title>
        <link>https://wiki.czechidm.com/</link>
        <url>https://wiki.czechidm.com/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://wiki.czechidm.com/faq/scripts/error_while_saving_entity_groovy_script_exception_-_script_call_script_from_invalid_category?rev=1497264990&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-12T10:56:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Error while saving entity: Groovy script exception - script call script from invalid category</title>
        <link>https://wiki.czechidm.com/faq/scripts/error_while_saving_entity_groovy_script_exception_-_script_call_script_from_invalid_category?rev=1497264990&amp;do=diff</link>
        <description>Error while saving entity: Groovy script exception - script call script from invalid category

In the transformation rule, you are calling a script from another category. The error message also contains the category you are trying to call, for example: [Script call script from invalid category: [TRANSFORM_FROM]]. Move called script to correct category, or better create a new script with correct category.</description>
    </item>
    <item rdf:about="https://wiki.czechidm.com/faq/scripts/groovy_script_did_not_pass_safety_check?rev=1497265026&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-12T10:57:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Groovy script did not pass safety check</title>
        <link>https://wiki.czechidm.com/faq/scripts/groovy_script_did_not_pass_safety_check?rev=1497265026&amp;do=diff</link>
        <description>Groovy script did not pass safety check

Your script contains a class / service that is not in its privileges. You have an error message in the application log with the name, code, and category of the script in which the error is including the class / service you are trying to use and you do not have the rights to. For example:</description>
    </item>
    <item rdf:about="https://wiki.czechidm.com/faq/scripts/i_dont_see_my_script_in_the_selection?rev=1497264515&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-12T10:48:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>I dont see my script in the selection</title>
        <link>https://wiki.czechidm.com/faq/scripts/i_dont_see_my_script_in_the_selection?rev=1497264515&amp;do=diff</link>
        <description>I dont see my script in the selection

Your script is in a category that does not match the selection. Move your script to the correct category, but keep an eye out for scripts about other scripts so you do not break others.</description>
    </item>
    <item rdf:about="https://wiki.czechidm.com/faq/scripts/null_value_in_groovy_scripts?rev=1501763192&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-08-03T12:26:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Null value in groovy scripts</title>
        <link>https://wiki.czechidm.com/faq/scripts/null_value_in_groovy_scripts?rev=1501763192&amp;do=diff</link>
        <description>Null value in groovy scripts

groovy script

In groovy script is NULL constant represent by object. On this object you can call some methods. See example:


​def attr = null;
def attr2 = attr.toString();


return attr2 + &quot;b&quot;;​​​​


Return value will be nullb</description>
    </item>
    <item rdf:about="https://wiki.czechidm.com/faq/scripts/script_can_not_be_saved_through_agenda_-_groovy_script_contains_compile_error?rev=1497264893&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-12T10:54:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Script can not be saved through agenda - groovy script contains compile error</title>
        <link>https://wiki.czechidm.com/faq/scripts/script_can_not_be_saved_through_agenda_-_groovy_script_contains_compile_error?rev=1497264893&amp;do=diff</link>
        <description>Script can not be saved through agenda - groovy script contains compile error

Your script may have a syntax error. Check your script and look for syntax errors.</description>
    </item>
    <item rdf:about="https://wiki.czechidm.com/faq/scripts/start?rev=1497264838&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-12T10:53:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Scripts</title>
        <link>https://wiki.czechidm.com/faq/scripts/start?rev=1497264838&amp;do=diff</link>
        <description>Scripts



Questions:

	* Error while saving entity: Groovy script exception - script call script from invalid category
	* Groovy script did not pass safety check
	* I dont see my script in the selection
	* Null value in groovy scripts
	* Script can not be saved through agenda - groovy script contains compile error
	* The application still reports an error: &quot;Groovy script did not pass safety check!&quot; even though the script has permissions



Add new &quot;FAQ&quot; entry in this section:</description>
    </item>
    <item rdf:about="https://wiki.czechidm.com/faq/scripts/the_application_still_reports_an_error_groovy_script_did_not_pass_safety_check_even_though_the_script_has_permissions?rev=1560341072&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-12T12:04:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>The application still reports an error: &quot;Groovy script did not pass safety check!&quot; even though the script has permissions</title>
        <link>https://wiki.czechidm.com/faq/scripts/the_application_still_reports_an_error_groovy_script_did_not_pass_safety_check_even_though_the_script_has_permissions?rev=1560341072&amp;do=diff</link>
        <description>The application still reports an error: &quot;Groovy script did not pass safety check!&quot; even though the script has permissions

It is possible that you are returning this class to another script. Check your application's log if the bug really comes from the script. Check the return statement or revise the script permissions again.</description>
    </item>
</rdf:RDF>
