Skip to content

JAMF Self Service shows item failed at the end of the SYM process #168

@peterlbk

Description

@peterlbk

Issue
Unless completionActionOption is set to Restart Attended, SYM will show "item failed" in JAMF Self Service.

Restart Attended does a killprocess Self Service and thus has no issue.

By adding a new parameter, we can allow to close Self Service after loading the JSON content:

killselfservice="yes" # yes | no Kill JAMF Self Service at launch

then at about line 2234, after loading the Setup you Mac Dialog and settings we can kill Self Service if needed:

if [[ $killselfservice == "yes" ]]; then
	killProcess "Self Service"
fi

This avoids the Self Service item failed message and makes a clean exit possible. And since SYM is mostly used for a more complex setup Self Service may be exited anyway.

My 5 cents
Cheers
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions