Files
doc-exports/docs/dataartsstudio/umn/dataartsstudio_01_0913.html
chenxiaoxiong f9e2808b7c DataArts UMN 20250810 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
2025-09-02 10:44:13 +00:00

30 lines
6.3 KiB
HTML

<a name="dataartsstudio_01_0913"></a><a name="dataartsstudio_01_0913"></a>
<h1 class="topictitle1">Unlocking a Job</h1>
<div id="body0000001665826161"><p id="dataartsstudio_01_0913__p19922238142014">Script and job unlocking depends on the lock function of DataArts Factory.</p>
<div class="p" id="dataartsstudio_01_0913__p8060118">The lock function prevents conflict caused by collaborative script or job development. If you create or import a script or job, it is locked by you by default. You can only edit, save, or submit a script or job you have locked. To edit, save, or submit a script or job that is locked by another user or not locked by any user, you must lock the script or job first.<div class="notice" id="dataartsstudio_01_0913__en-us_topic_0000001665546201_note17761823205511"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="dataartsstudio_01_0913__en-us_topic_0000001665546201_ul3583413174617"><li id="dataartsstudio_01_0913__en-us_topic_0000001665546201_li1011564752714">You can view the lock status of a script or job in the script or job directory tree.</li><li id="dataartsstudio_01_0913__en-us_topic_0000001665546201_li109161659144015">To view the latest version of an opened script or job locked by another user, you need to re-open the script or job because it is not updated in real time.</li><li id="dataartsstudio_01_0913__en-us_topic_0000001665546201_li96817074715">Scripts or jobs that were created before the lock function was available are now unlocked by default. To edit, save, or submit these scripts or jobs, you need to lock them first.</li><li id="dataartsstudio_01_0913__en-us_topic_0000001665546201_li4799153617472">The locking operation depends on the soft and hard lock policies. For details about how to configure soft and hard lock policies, see <a href="dataartsstudio_01_04501.html">Configuring a Default Item</a>.<ul id="dataartsstudio_01_0913__en-us_topic_0000001665546201_ul83201918531"><li id="dataartsstudio_01_0913__en-us_topic_0000001665546201_li1253194185315"><strong id="dataartsstudio_01_0913__en-us_topic_0000001665546201_b1029775213420">Soft lock</strong>: You can lock or unlock jobs or scripts, regardless of whether they are locked by others.</li><li id="dataartsstudio_01_0913__en-us_topic_0000001665546201_li53151926195317"><strong id="dataartsstudio_01_0913__en-us_topic_0000001665546201_b11668114110137">Hard Lock</strong>: You can lock jobs or scripts only after they have been unlocked by other users. The space administrator and the <span id="dataartsstudio_01_0913__text285613226152">DARTS</span> Administrator user can lock and unlock jobs or scripts without any limitations.</li></ul>
</li><li id="dataartsstudio_01_0913__en-us_topic_0000001665546201_li248431911466">Do not lock a script or job that is locked by another user because if you do so, changes to the script or job made by the user will be lost. If you want to modify the script or job, contact the user to unlock the script or job, and lock it by yourself.</li></ul>
</div></div>
<div class="fignone" id="dataartsstudio_01_0913__en-us_topic_0000001665546201_fig13432173182017"><span class="figcap"><b>Figure 1 </b>Lock statuses</span><br><span><img class="imgResize" id="dataartsstudio_01_0913__en-us_topic_0000001665546201_image9159153343" src="en-us_image_0000002234236424.png" title="Click to enlarge"></span></div>
</div>
<div class="section" id="dataartsstudio_01_0913__en-us_topic_0125929047_section1841382616424"><h4 class="sectiontitle">Prerequisites</h4><p id="dataartsstudio_01_0913__en-us_topic_0000001130920053_p11248140095">A job has been developed.</p>
</div>
<div class="section" id="dataartsstudio_01_0913__section1335618117221"><h4 class="sectiontitle">Procedure</h4><p id="dataartsstudio_01_0913__p445716792515">If you submit a version, the latest job in the development state will be saved and submitted and overwrite the previous job version. You are advised to unlock the job after submitting the version so that other developers can modify the job as needed.</p>
<ol id="dataartsstudio_01_0913__ol15979184125516"><li id="dataartsstudio_01_0913__li2848154165110"><span>Log in to the <span id="dataartsstudio_01_0913__en-us_topic_0000001987511677_en-us_topic_0000001127311125_text5574448155719">DataArts Studio</span> console by following the instructions in <a href="dataartsstudio_01_0001.html">Accessing the DataArts Studio Instance Console</a>.</span></li><li id="dataartsstudio_01_0913__li108615149113"><span>On the <span id="dataartsstudio_01_0913__en-us_topic_0181092879_text185611381448">DataArts Studio</span> console, locate a workspace and click <strong id="dataartsstudio_01_0913__en-us_topic_0181092879_b65382814249">DataArts Factory</strong>.</span></li><li id="dataartsstudio_01_0913__li48611314161114"><span>In the left navigation pane of DataArts Factory, choose <span class="menucascade" id="dataartsstudio_01_0913__en-us_topic_0181491853_en-us_topic_0099797006_menucascade12634646125010"><b><span class="uicontrol" id="dataartsstudio_01_0913__en-us_topic_0181491853_en-us_topic_0099797006_uicontrol1063494615015">Development</span></b> &gt; <b><span class="uicontrol" id="dataartsstudio_01_0913__en-us_topic_0181491853_en-us_topic_0099797006_uicontrol14634104655019"><span id="dataartsstudio_01_0913__en-us_topic_0181491853_en-us_topic_0099797006_text126341046105013">Develop Job</span></span></b></span>.</span></li><li id="dataartsstudio_01_0913__li186121411113"><span>In the job directory, double-click the developed job to access the job development page.</span></li><li id="dataartsstudio_01_0913__li1434816186334"><span>Above the job canvas or editor, click <strong id="dataartsstudio_01_0913__b1187456202320">Unlock</strong> to unlock the job.</span><p><div class="fignone" id="dataartsstudio_01_0913__fig198552158380"><span class="figcap"><b>Figure 2 </b>Unlocking a job</span><br><span><img id="dataartsstudio_01_0913__image048123210404" src="en-us_image_0000002269195869.png" title="Click to enlarge" class="imgResize"></span></div>
<p id="dataartsstudio_01_0913__p76261825162918"></p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0408.html">(Optional) Managing Jobs</a></div>
</div>
</div>
<script language="JavaScript">
<!--
initImageViewer('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>