الجزء 5: طلب بيانات من المستخدم
Section titled “الجزء 5: طلب بيانات من المستخدم”عن هذا الفيديو
يوضح الجزء الخامس كيفية طلب بيانات من المستخدم عند تنفيذ إجراء. يشغّل زر «إعادة الإسناد» إجراءً مخصصًا يفتح أولًا نافذة تطلب المسند إليه الجديد، ثم يحفظه في التذكرة؛ ويستخدمه حساب «موظف مكتب الدعم» على تذكرة. ثم نجعل إجراء «رفض» في خطوة «موافقة المدير» يتطلب تعليقًا، وهو الإدخال الوحيد الذي يطلبه إجراء تدفق العمل بنفسه.
ما يغطيه هذا الفيديو
- قسم «اسأل المستخدم» في المعرض، والحقول التي يتيحها
- تفاعل بحدث «إجراء مخصص»، مع تفعيل خيار «اسأل المستخدم عن» واختيار معرض في إعداد «مصدر الحقول»
- إجراء «تعديل مدخل» يأخذ قيمة من النافذة
- زر منشور يشغّل الإجراء المخصص ويظهر في المعرض
- تعليق مطلوب على إجراء في تدفق العمل
لمن هذا الفيديو: مطوّر التطبيقات
السياق
- — الجزء 5 من 7
- بناء التطبيقات
في التوثيق: الأزرار، سير العمل والاعتمادات، التفاعلات والأتمتة
النص
- When people act, you can ask them for input. OSOS offers two ways: a button that opens a dialog of fields before it runs, and a comment on a workflow action. First, a Reassign button that asks the desk for the new assignee.
- The dialog’s fields come from a view. In Incoming Requests, open Ask user for.
- Turn it on, and choose Assigned to.
- Save the view.
- On the Reactions tab, add a reaction named Reassign.
- Its event is Custom Action.
- Its level, UI action, lets a button run it.
- Turn on Ask User For.
- Its Fields Source is a view.
- Support Tickets, Incoming Requests: the view whose field we just chose.
- The action is Update Data Entry.
- It changes the ticket itself: the mode is Self.
- Set Assigned to.
- Its value comes from a field:
- Entry Fields, Ask User for, then Assigned to: the person entered in the dialog.
- Save.
- On the Buttons tab, add a button named Reassign.
- It runs the Reassign custom action,
- on one ticket at a time.
- Save it.
- And publish it: until then, nobody can use it.
- Then show it in Incoming Requests, in the view’s Buttons section.
- The other way is a comment. A workflow action collects no form, but its confirmation dialog can require a reason.
- Open Manager Approval’s Reject action.
- Set Action comment status to Required.
- Reject cannot run without a comment now, and the reason shows in the ticket’s workflow comments.
- Save, and confirm.
- The Desk Agent opens a ticket in Incoming Requests.
- Open the action menu,
- then choose Reassign.
- The dialog asks for the new assignee.
- Choose Representative One.
- Select Send, and the custom action writes it into the ticket.
- The ticket is now assigned to Representative One. The desk never opened the edit form.
- In part six, editing tickets right in the list.
المنصّة 1.10.0 · الواجهة الخلفية 1.11.0-alpha.11 · واجهة الويب 1.11.0-alpha.6 · الجوّال 1.10.2 · المخطّط 1.11.8 · البوّابة 2.6.11 · خادم MCP 0.2.0 · مصدر بيانات Grafana 1.2.0بناء التوثيق 2026-11-27