# Plateau Studio Workflow Workflow module automates and manages the sequence of tasks, data exchanges, and processes in your application. It defines how different parts of a system interact with each other to complete a specific business process. Workflow module can include the following elements: - **DataTypes:** DataTypes define the format of the information that is passed between different steps in the process, might be a simple number, text, or user information etc. - **API folders:** In a workflow, APIs might be used to trigger certain actions, retrieve or send data, or integrate with external systems. - **SOAP Services:** SOAP services in the Workflow module could be used to interact with external systems, send and receive data securely. - **Constants:** Constants are fixed values that do not change during the execution of a workflow. - **Functions:** Functions are reusable blocks of code or logic that perform specific tasks within the workflow. ## Workflow Development in Plateau Studio ### Step-1: Create App * **IsbankWorkflowGroup**'a dahil olma/edilme * **IsbankWorkflow** Uygulaması içerisinde bir uygulama yaratılır. To be able to create an application, you need to be a member of **IsbankWorkflowGroup**. To be a member of the group, When you're a member, you can create a new application. **IsbankCore** module is the necessary and specifically customized module for the Workflow applications. It includes XYZ. **To import the IsbankCore module:** - Go to **Add New** on the left bottom and click **Import Module** - Select the **latest version** of the module from the opened pop-up EKRAN * IsbankCoreModule içine > StudioDataTypes folder eklenir. **Data Type altına eklenecek objeler:** :::warning **Predefined StudioModelleri:** * **DataTypes**: unit, user, processInstance, file, inform, action, actionprop, note, sla, task, notification, * **Services**: * **getUserAPI**: Core Module > Add New > Folder > StudioAPIs > New Rest Service > getUserApi (Live Preview çalışabilmesi için) Move to > IsbankCoreModule > Studioapis Input ve Output tanimlanmali: Variables In (Input): İçine Variable (User ID) tanımlanacak. Variables Out (Output): Response status otomatik atanıyor. Response tanımlanacak=user type. * **notification**: New Rest Service > Notifyapi : path string olarak 'notify' * **Functions** * **getUserLP**: Live Preview'da calisirken kullanilan flow (?) Flow ekleniyor (gerUserLP) > **Platform ekibi tarafından özelleştirilmesi gereken modeller:** * **DataTypes**: unit,user,processInstance, * **Functions** * **getUserLP**: * **Page**: * **masterPage** **Süreç geliştiren uygulamalar tarafından özelleştirilebilir modeller**: ::: Import Module > New Data Type > processInstance Core Module içine Folder > StudioAPIs > New Rest Service > getUserApi ### Step-1: Develop Your Workflow After importing IsbankCore module into your application, - Add New > New Folder > Folder icine yeni bir folder > Sagdaki plus'tan DataType (DataType'in folder icine Move To) - Add New > Workflow > Steps ekleme ### Step-2: Define Data Types - DataType ekledikten ve isimlendirdikten sonra, yeni DataTypes ekle Add New tiklayarak **Attribute** doldur. Attribute Name, ID, Description and Type gir. - Summary = Bos geliyor? ### Step-3: Define Your Functions **Functions** are reusable blocks of code or logic that perform specific tasks within the workflow. They can take inputs, process them, and return outputs. Workflow ekledikten sonra Step'ler nereden geliyor? ### Step-4: Create Your Services ### Step-5: Create Your UIs ### Step-6: Define Your Mock Data ### Step-7: Configure ### Setp-8: Preview Your Development ## Deployment to Nar (Sagda) General > Roles: profil tanimlari - surec boyunca farkli adimlarda etkili olacak kullanici rolleri Swimlane: - START: Aksiyon > sureci kim baslatabilir rollerden sec. - User Task: Label ekle (Musteri Arama), task name (bosluklari yaz) Form'da read only - Action Type drop down aciklanacak (claim, unclaim, assign to user etc.) - End baslatma vb. sureci???