-
Notifications
You must be signed in to change notification settings - Fork 1
Review Station
In the review station configuration, it's expected to include settings that will be used when sending the documents to the review station. In the example below, we have only two settings, but others may be used, currently, SmartDocumentor allows the following settings: DownloadDoc, bufferSize, TopItems, MaxCheckoutRetries, MaxCheckoutRetriesQueue, RetryPolicyConfig, LeaseTime and Sort. Also, in this configuration is set what the next state for the document after the review.
138. <Pipeline Target="ReviewStation" RunAt="Gui">
139. <StepList>
140. <Step From="Workspace:ToReview" Using="PrefetchWorker" To="ToReview">
141. <SettingList>
142. <Setting Name="DownloadDoc" Value="True" />
143. <Setting Name="BufferSize" Value="5" />
144. </SettingList>
145. </Step>
146. <Step From="ToReview" Using="ReviewStation" To="Reviewed">
147. <SettingList />
148. </Step>
149. <Step From="Reviewed" Using="TaskUploadWorker" To="Workspace:ToIntegrate">
150. <SettingList />
151. </Step>
152. </Pipeline>
The batch configuration is done inside the review station pipeline, although it requires other configurations inside the workspace, TaskPromotedProperty gets the documents to be grouped for revision. Also, its needed to be the GroupMode to Batch.
The filter are the files resulting from a query to the tasks, in order to provide the batch elements.
11. <TaskPromotedPropertyList>
12. <TaskPromotedProperty Name="FilterBatchName" Value="" Command="<QUERY>" ColumnHeaders="REVIEW_STATION_TASK_BATCH_ID;REVIEW_STATION_TASK_BATCH_NAME;REVIEW_STATION_TASK_DOCS_COUNT;REVIEW_STATION_TASK_PAGES_SUM;REVIEW_STATION_TASK_PRIORITY;REVIEW_STATION_TASK_CREATEDON" Type="Database" />
13. </TaskPromotedPropertyList>
224. …
225. <Step From="workspace:ToReview" Using="PrefetchWorker" To="ToReview">
226. <SettingList>
227. …
228. <Setting Name="Filter" Value="BatchName = '{$FilterBatchName}'" />
229. …
230. </SettingList>
231. </Step>
232. …
254. <SettingList>
255. <Setting Name="GroupMode" Value="Batch" />
256. </SettingList>
Adress: R. de Passos Manuel 223 3°, 4000-385 Porto, Portugal
Email: support@devscope.net
Phone: +315 22 375 1350
Working Days/Hours: Mon-Fri/9:00AM-19:00PM
Copyright © DevScope