Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

 

Polish
Panel
bgColorwhite
titleBGColorlight
titlePodstawowe informacje

Pakiet: com.suncode.plugin.administrationtools.scheduledtask.RemoveUsersTask

Dostępna od wersji: 1.0.2

Panel
bgColorwhite
titleBGColorlight
titleOpis

Zadanie zaplanowane służące do dezaktywacji/usunięcia użytkowników z systemu PlusWorkflow. Lista użytkowników do usunięcie jest pobierana ze źródła danych. Źródło może zostać wywołane z parametrami podanymi w Zadaniu Zaplanowanym. Jako wartość parametru wywołania oprócz stałych wartości można użyć znaczników czasowych.

Panel
bgColorwhite
titleBGColorligth
titleParametry konfiguracyjne
Nazwa parametruod wersjiOpisTyp parametruUwagi i ograniczenia
Identyfikator źródła danych*
1.0.2
Id źródła do wykonania. Źródło musi zwrócić parametr o id 'username', opcjonalnie parametr 'targetUserName'.
TekstuserName - użytkownik do usunięcia, targetUserName - użytkownik na kogo przepisać zadania
Tryb działania*
1.0.2
Określa czy ma dezaktywować użytkownika i usunąć (DELETE), czy tylko dezaktywować (DEACTIVATION)
Tekst 
Parametry wejściowe źródła
1.0.2
Parametry z jakimi zostanie wywołane źródło danych. Format JSON {"parametrId":"value"}. Możliwość używania tagów czasowych. np: {current_YYYY}-{current_MM}-{current_DD} postawi aktualną datę w formacie yyyy-MM-dd
TekstTabelka możliwych tagów znajduję się poniżej
Domyślny docelowy użytkownik
1.0.2
Jeżeli nie zwrócono wartości z parametru  'targetUserName', to na tego użytkownika zostaną przypisane zadania. Wartość pusta oznacza przepisanie na domyślnego użytkownika systemowego.
Tekst 
TAGI Możliwe do użycia w parametrze wejściowych źródła
Czas wykonania  zadania zaplanowanego
{current_timestamp}trzynastocyfrowa liczba milisekund liczona od 01.01.1970 (timestamp)
{current_DD}dwucyfrowa liczba reprezentująca dzień miesiąca
{current_MM}dwucyfrowa liczba reprezentująca dzień miesiąca
{current_YY}dwucyfrowa liczba reprezentująca rok
{current_YYYY}czterocyfrowa liczba reprezentująca rok
{current_hh}dwucyfrowa liczba reprezentująca godzinę
{current_mm}dwucyfrowa liczba reprezentująca minuty
{current_ss}dwucyfrowa liczba reprezentująca sekundy
{current_nnn}trzycyfrowa liczba reprezentująca nanosekundy
Czas ostatniego wykonania zadania zaplanowanego
{timestamp}trzynastocyfrowa liczba milisekund liczona od 01.01.1970 (timestamp)
{DD}dwucyfrowa liczba reprezentująca dzień miesiąca
{MM}dwucyfrowa liczba reprezentująca dzień miesiąca
{YY}dwucyfrowa liczba reprezentująca rok
{YYYY}czterocyfrowa liczba reprezentująca rok
{hh}dwucyfrowa liczba reprezentująca godzinę
{mm}dwucyfrowa liczba reprezentująca minuty
{ss}dwucyfrowa liczba reprezentująca sekundy
{nnn}trzycyfrowa liczba reprezentująca nanosekundy
Info
titlePrzykład

Definiując parametr "Wartości parametrów źródła" jako {"data_ostatniego_wywolania":"{YYYY}-{MM}-{DD} {hh}:{mm}:{ss}.{nnn}"}

Do źródła przekazane zostanie: {"data_ostatniego_wywolania":"2020-11-09 20:09:15.032"} (wartości daty ostatniego prawidłowego wykonania zadania zaplanowanego podstawiane za znaczniki zostaną automatycznie pobrane z bazy; w przypadku, gdy zadanie jest uruchomione po raz pierwszy, przyjęta zostanie data 01.01.1970)

 

 

Panel
titlePrzykładowa konfiguracja

 

 

Panel
bgColorwhite
titleBGColorlight
titleChange log

1.0.2

  • Utworzenie komponentu


English
Panel
bgColorwhite
titleBGColorlight
title Basic information

Package: com.suncode.plugin.administrationtools.scheduledtask.RemoveUsersTask

Available from version: 1.0.2

Panel
bgColorwhite
titleBGColorlight
titleDescription

Scheduled task for deactivating/deleting users from PlusWorkflow system. The list of users to delete is taken from a data source. The source can be called with the parameters specified in the Scheduled Task. Timestamps can be used as the call parameter value in addition to fixed values.

Panel
bgColorwhite
titleBGColorligth
titleConfiguration parameters
Parameter namefrom versionDescriptionThe type of the parameterNotes and Restrictions
Datasource ID
1.0.2
The id of the source to execute. The source must return a parameter with id 'username', optionally a 'targetUserName' parameter.
StringuserName - user to be deleted, targetUserName - user to whom to assign tasks
Operation mode
1.0.2
Specifies whether to deactivate the user and delete (DELETE) or only deactivate (DEACTIVATION)
String 
Datasource input parameters
1.0.2
The parameters with which the data source will be called. JSON format {"parameterId":"value"}. Ability to use time tags. e.g: {current_YYYY}-{current_MM}-{current_DD} will put the current date in yyyy-MM-dd in format
StringA table of possible tags is shown below
Default target username
1.0.2
If no value is returned from the targetUserName parameter, jobs will be assigned to that user. An empty value means rewriting to the default system user.
String 
TAGS Possible to use in source input parameter
Time of scheduled task execution
{current_timestamp}thirteen digit number of milliseconds since 01/01/1970 (timestamp)
{current_DD}two-digit number representing the day of the month
{current_MM}two-digit number representing the day of the month
{current_YY}a two-digit number representing the year
{current_YYYY}a four-digit number that represents the year
{current_hh}a two-digit number representing the hour
{current_mm}a two-digit number representing the minutes
{current_ss}a two-digit number representing the seconds
{current_nnn}trzycyfrowa liczba reprezentująca nanosekundy
Czas ostatniego wykonania zadania zaplanowanego
{timestamp}thirteen digit number of milliseconds since 01/01/1970 (timestamp)
{DD}two-digit number representing the day of the month
{MM}two-digit number representing the day of the month
{YY}a two-digit number representing the year
{YYYY}a four-digit number that represents the year
{hh}a two-digit number representing the hour
{mm}a two-digit number representing the minutes
{ss}a two-digit number representing the seconds
{nnn}trzycyfrowa liczba reprezentująca nanosekundy
Info
titleExample

Defining the "Source parameter values" parameter as {"last_call_date": "{YYYY} - {MM} - {DD} {hh}: {mm}: {ss}. {Nnn}"}

The following will be sent to the source: {"last_call_date": "2020-11-09 20: 09: 15.032"} (the values of the last valid execution date of the scheduled task will be automatically taken from the database; in the case when the task is run for the first time , the date of 01.01.1970 will be adopted)

Panel
titleSample configuration

 

 

Panel
bgColorwhite
titleBGColorlight
titleChange log

1.0.2

  • Adding a new component

 

 

 

...