General Purpose Request Workflow

General Purpose Request Workflow 20211111
This is a general purpose business application and approval workflow for nursing care leave notification, leave of absence notification, business card creation, etc. Templates of application contents are automatically set according to the application work. The administrative department can manage various types of applications together.
Worker (#of Swimlane: 3)
  • Notifier
  • General Affairs Department Operator
  • Advisor
Business Flow (Complexity of Workflow: 13)
  • 11. Notification
    • Employees submit requests for a leave of absence, resignation, business card creation, etc.
  • 131x. Notification Correction
    • The submitter will receive a check-back from the General Affairs Department and revise the submitted information.
  • 42. Create Answer
    • The person in charge of the General Affairs Department will check the notification contents and create an acceptance/rejection response.
  • 32x. Advice
    • The advisor will provide advice upon receiving a request from the operator in the General Affairs Department.
  • 11Set Title (Acceptance)
    • The workflow platform sets the title to the “Accepted” status.
  • 6Set Title (Answering)
    • The workflow platform sets the title to the status “Answering”.
  • 8Set Title (Rejected)
    • The workflow infrastructure sets the title to the “Rejected” status.
Workflow Diagram (click to open)
Business Process Variables (#of Data Item: 17)
  • ◆ Notification Information 11
  • Notification Dateq_Date_of_Notification4
    • Stores the notification date.
    • processInstanceStartDatetime
  • Notifierq_Notifier_person3
    • Stores the name of the notifier.
    • ${processInstance.initQuserId}
  • Notification Organizationq_Notification_Destination_organization5
    • Stores the notifier’s organization.
  • Notification Typeq_notification_kind0*
    • Stores the notification type.
  • Request Detailq_request_detail1
    • Stores the notification contents.
  • Attached Filesq_Notification_Files6
    • Stores document files related to notifications.
  • ◆ General Affairs Department Input Information 12
  • General Affairs Department Operatorq_general_affairs_person8
    • Stores the person in charge of the general affairs department who responds to the notification.
  • Reason for Returnq_reject_message16
    • Stores the reason for sending back the notification.
  • Response Textq_message9
    • The response text embedded in the notification of acceptance/rejection to the submitter is stored.
  • Attached Documents (certificate/notification, etc.)q_answer_sheet_file10
    • Contains the document file attached to the acceptance notification.
  • ◆ Communication with Advisors 13
  • Advisorq_adviser7
    • Stores the advisor’s name.
  • Advice Request Detailsq_request_advise14
    • Stores the contents of the advice request.
  • Advice Contentq_advise15
    • Stores the advice content.
  • ◆ Set initial values for application content: Script 2

Field Name, num, Initial Value

Download

This archive contains the BPMN icons that are not available in the Basic edition.

Notes

  • You need to associate the Swimlane settings according to your organizational structure upon import
  • Input control for the “1. Notification” step is achieved using decoration (JavaScript).
    • When adding a notification type, a notification template definition is required.
1. Notification Step Notification Template Switching Script (click to open)
<script type="text/javascript">
// leave,Leave of absence
// public_leave,Leave of absence from public employment
// retirement,Retirement
// side_business,Concurrent employment
// childcare_leave,Childcare leave
// nursing_care_leave,Nursing care leave
// late_night_work_restrictions,Late night work restrictions
// short_working_hours,Short working hours
// name_card,Business card creation

let notificationKind;
const leaveText = "I wish to take a leave of absence as follows. \n\
・Period of leave of absence: From August 27, 2020 to September 30, 2020\n\
・Reason for leave of absence: For treatment of diabetes mellitus\n\
・Contact information: 090-1234-5678\n\
・Attached documents: Medical certificate from Kyoto Hospital (1 copy)";
const leaveExplanation = "\Please attach a scanned file of the medical certificate in Attached Documents when submitting the notification\<\/span\>";
const publicLeaveText = "I would like to take a leave of absence as described below.\n\
・Leave of absence period: From March 1, 2020 to March 31, 2020\n\
・Reason for leave of absence: Due to council activities as a town council member";
const retirementText = "I would like to inform you that due to personal reasons, I would like to retire as of March 31, 2020.";
const sideBusinessText = "I will be working concurrently as shown below.\n\
・Part-time organization name: Four-dimensional Data Co., Ltd\n\
・Business content of the organization: Software industry\n\
・Work content: System engineer\n\
・Scheduled period of concurrent employment: From March 1, 2020 to March 31, 2020\n\
・Scheduled working hours: 10 hours per week";
const childcareLeaveText = "I would like to apply for childcare leave as follows.\n\
・Child's name: Oliver Mason\n\
・Child's date of birth: August 31, 2020\n\
・Relationship: biological child\n\
・Period of suspension: From September 1, 2020 to March 31, 2020";
const nursingCareLeaveText = "I will apply for nursing care leave as follows.\n\
・Name of family member pertaining to leave of absence: Beryl Mason\n\
・Relationship: Mother\n\
・Reason for needing nursing care: Certified as requiring nursing care level 3. I would like to stay at home. There are no other caregivers.\n\
・Period of suspension: From March 1, 2020 to March 31, 2020";
const lateNightWorkRestrictionsText = "I request the following restrictions on late-night work (late-night work) for childcare purposes.\n\
・Name of family member involved in the claim: Oliver Mason\n\
・Date of birth: August 31, 2020\n\
・Relationship: biological child\n\
・Period of restriction: From September 1, 2021 to March 31, 2020";
const shortWorkingHoursText = "I would like to apply for short-time work for nursing care as described below.\n\
・Name of family member involved in the claim: Gladys Torrence\n\
・Date of birth: August 31, 1920\n\
・Relationship: Mother-in-law\n\
・Period of restriction: From March 1, 2020 to March 31, 2020";
const nameCardText = "I would like to submit a request for business card creation as follows.\n\
Requested date of receipt: 2019-09-20\n\
Requested number of copies: 200\n\
Department name title: Executive Officer / Sales Manager\n\
Name: Curtis Wilson\n\
Email address: c.wilson@sample.co.jp\n\
Business card qualification: Ministry of Economy, Trade and Industry certified applied information engineer";
//
qbpms.form.on('ready',function(){
	qbpms.form.on('change','q_notification_kind',function(){
		jQuery('#user_explanation').html("");
		notificationKind = qbpms.form.get("q_notification_kind");
		qbpms.form.set("q_request_detail", getNotificationSentence(notificationKind[0].value));
	});
});
function getNotificationSentence(kind){
	let text = "<<Entry Example>>\n";
	let explanation = "No documents are required for this notification.";
	switch (kind){
		case "leave":
			text += leaveText;
			explanation = leaveExplanation;
			break;
		case "public_leave":
			text += publicLeaveText;
			break;
		case "retirement":
			text += retirementText;
			break;
		case "side_business":
			text += sideBusinessText;
			break;
		case "childcare_leave":
			text += childcareLeaveText;
			break;
		case "nursing_care_leave":
			text += nursingCareLeaveText;
			break;
		case "late_night_work_restrictions":
			text += lateNightWorkRestrictionsText;
			break;
		case "short_working_hours":
			text += shortWorkingHoursText;
			break;
		case "name_card":
			text += nameCardText;
			break;
	}
	jQuery('#user_explanation').html(explanation);
	return text;
}

</script>

Capture

[1. Notification] process input operation example

See also

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top

Discover more from Questetra Support

Subscribe now to keep reading and get access to the full archive.

Continue reading