Changes for page TRKToXML
Last modified by Outhman Moustaghfir on 2022/12/29 10:42
<
>
edited by Outhman Moustaghfir
on 2022/12/27 11:45
on 2022/12/27 11:45
edited by Outhman Moustaghfir
on 2022/12/27 09:53
on 2022/12/27 09:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,97 +1,1 @@ 1 - 2 - 3 -{{box cssClass="floatinginfobox" title="**Contents**"}} 4 -(% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %) 5 -((( 6 -{{toc/}} 7 - 8 -(% style="background-image:url(https://ixpath.app/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.53.2/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||height="15" role="presentation" title="Click and drag to move" width="15"]] 9 -))) 10 -{{/box}} 11 - 12 -= Introduction = 13 - 14 -In this section, we will go throw TRKToXml connector to get trackings by trkID and tracking type. 15 - 16 -== **__Icon:__** == 17 - 18 - 19 -[[image:trkToXml.png]] 20 - 21 -The connector exists in the scenario panel: 22 - 23 -[[image:connectors.png]] 24 - 25 -== **__Configuration:__** == 26 - 27 - 28 -**__[[image:configuration.png]]__** 29 - 30 -* //**Name **//: To give a name to the processing step (connector). It is very useful to give meaningful names 31 -* **Output FileName** : The name of your output file. 32 -* **//Condition //**: This field allows you to add a condition to execute the processing step only if the condition is met. 33 - 34 -== __**Example :**__ == 35 - 36 - 37 - __**[[image:scenarioTrackingToXml.png]]**__ 38 - 39 - 40 -You will find in this part an example of an input file with the correct format and an output file. 41 - 42 -=== __input File:__ === 43 - 44 -<iXDoc> 45 - 46 - <TrackingType >IXEnvironment</TrackingType> 47 - 48 - <TrkIDs>62ec9e0928e4773780f37762</TrkIDs> 49 - 50 - <Keys>creationDate</Keys> 51 - 52 - <Values>2022-08-05T04:35:21.731+00:00</Values> 53 - 54 - <Limit>1</Limit> 55 - 56 - <Order>TrkID</Order> 57 - 58 - <Status>Available</Status> 59 - 60 -</iXDoc> 61 - 62 - 63 - 64 -1. trackingType: it refers to type of tracking wanted. (eg : order , IXEnvironment, baseArticle ...). 65 -1. keys: it can handle 2 values, "trkID" or keys separated by ';' (eg: 'orderNumber;City;Phone') if the key contains '_' at the first character, it means we look for metadata (_statusTracking, _creationDate ...). **it's optional.** 66 -1. TrKIDs :it refers to the trkID of trackings wanted . 67 -1. limit: it defines the max number of tracking to retrieve. **it's optional.** 68 -1. order: whether you want to order the list of trackings in a descending way or not by a certain key order. The default value is 'trkID' and it's optional as long as you fill the limit value. 69 - 70 -= __output File:__ = 71 - 72 - 73 -<?xml version="1.0" encoding="UTF-8"?> 74 - 75 -<iXDoc> 76 - 77 - <IXEnvironment creationDate="2022-08-05 16:47:08" envID="iXPath" modificationDate="2022-08-05 16:47:08" statusTracking="Available"> 78 - 79 - <parent/> 80 - 81 - <gitRepository/> 82 - 83 - <timezone>GMT</timezone> 84 - 85 - <alias>iXPath</alias> 86 - 87 - <active>true</active> 88 - 89 - <logo/> 90 - 91 - <id>62ec9e0928e4773780f37762</id> 92 - 93 - </IXEnvironment> 94 - 95 -</iXDoc> 96 - 97 -The tracking data and metadata are included in the output file. 1 +== **Definition ** ==
- configuration.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.omoustaghfir - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.9 KB - Content
- connectors.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.omoustaghfir - Size
-
... ... @@ -1,1 +1,0 @@ 1 -70.5 KB - Content
- scenarioTrackingToXml.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.omoustaghfir - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30.7 KB - Content
- trkToXml.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.omoustaghfir - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.4 KB - Content