Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2018-10-08 07:26:16 GMT <alfresco-discord> <yreg> Morning everyone

2018-10-08 07:59:57 GMT <alfresco-discord> <bhagyas> Good morning @yreg

2018-10-08 09:12:29 GMT <kkore> Hi all we had requirement to create a workflow in alfresco which should allow the user to start workflow even without the document also workflow should start. For this case I tried to create the dummy document with custom content type in bpmn file, and also we added few prop to document after creation. Once everything is set we converting noderef to ActivitiScriptNode ,now setting exe.variable of bpm_package to ActivitiScriptNode i

2018-10-08 09:12:53 GMT <kkore> when we try to start the workflow we getting errors like Cannot read property "properties" from undefined the error is clear that properties are not set but even those properties are setted on document then also getting same error.. Now doubt is that we can create the document and pass that document to bpm_package is correct way or not ??

2018-10-08 09:25:26 GMT <AFaust> Why create a document at all when the requirements are to start the workflow without a document? A workflow can exist without any document attached to it (see site invitations). It may only be your existing task listeners / delegates and scripts that are potentially poorly written and require some sort of (dummy) document to work.

2018-10-08 09:26:01 GMT <AFaust> And the error regarding "cannot read "properties" from undefined" is also likely the result of one of your custom listener / delegate / script code...

2018-10-08 09:46:08 GMT <kkore> AFaust: but need to set the some properties on document like status of document ,wf started date. I checked that from with debugs in java there I am getting the values on noderef after setting to bpm_package there it's getting error in bpmn file

2018-10-08 09:46:57 GMT <AFaust> Why do you need to set these properties on the document? Why not simply set those properties as process / task variables?

2018-10-08 09:49:21 GMT <kkore> There are two cases here for us. one wf with document and another wf without document

2018-10-08 09:52:51 GMT <kkore> if document type is confidential then wf should start without document. For all remaining types wf should start with document.

2018-10-08 11:11:41 GMT <alfresco-discord> <yreg> Guys, does anyone here has APS development skills ?

2018-10-08 11:12:07 GMT <alfresco-discord> <yreg> I am trying to create a stencil for downloading a previously attached document

2018-10-08 11:12:39 GMT <alfresco-discord> <yreg> the idea is that a validator can actually upload a document as a sort of feedback when validating the flow

2018-10-08 11:14:01 GMT <alfresco-discord> <yreg> and the guys getting the notification in the next task should have the possibility to consult the document(s) but not change them (so reusing the OOTB upload stencil is not an option, as it can not be forced into readOnly mode without forcing the whole task to go in RO mode)

2018-10-08 11:14:51 GMT <alfresco-discord> <yreg> I tried creating a new stencil for it in APS and ADF, but APS is refusing to validate the process definition

2018-10-08 11:15:08 GMT <alfresco-discord> <yreg> as the same field ID is being reused with different types

2018-10-08 11:15:30 GMT <alfresco-discord> <yreg> (it didn't throw such an error when I went from text to something else BTW)

2018-10-08 11:16:03 GMT <alfresco-discord> <yreg> the exact error is There are errors in your application's process models. It will not be possible to publish the app until these errors are fixed. Invalid field type 'download', was already used with type 'upload' Invalid field type 'upload', was already used with type 'download'

2018-10-08 11:21:45 GMT <kkore> AFaust: I am setting variable bpm_package in java but when I get the bpm_package.children.length is coming as 0. Java code is NodeRef tempRef = new NodeRef(exe.getVariable("tempDocRef").toString()); exe.setVariable("bpm_package", new ActivitiScriptNode(tempRef, getServiceRegistry()));

2018-10-08 11:51:48 GMT <alfresco-discord> <kgastaldo> @binduwavell - You looking for someone to talk with? Or were you just testing the IRC/Discord connection?

2018-10-08 13:39:09 GMT <rluders> Hello. Guys, how do I update an file content using the Javascript API?

2018-10-08 13:39:28 GMT <rluders> I was trying to do something like document.content = "new content"; but it is trowing an error

2018-10-08 13:44:54 GMT <angelborroy> rluders https://community.alfresco.com/docs/DOC-5367-javascript-api-cookbook

2018-10-08 13:44:57 GMT <alfbot> Title:JavaScript API Cookbook | Alfresco Community (at community.alfresco.com)

2018-10-08 13:45:40 GMT <rluders> angelborroy, thanks...

2018-10-08 13:55:54 GMT <alfresco-discord> <mbui> Anyone got exprience with implementing alternatives to Embedded Activiti/APS for Alfresco (ACS)? Such as activiti or flowable?

2018-10-08 14:03:57 GMT <alfresco-discord> <bhagyas> There's a flowable implementation on citeck ecos

2018-10-08 14:04:04 GMT <alfresco-discord> <bhagyas> it's on bitbucket, so you could find it

2018-10-08 14:04:18 GMT <alfresco-discord> <bhagyas> @mbui ^

2018-10-08 14:04:38 GMT <alfresco-discord> <bhagyas> https://bitbucket.org/citeck/ecos-community/src/8a5c94922029479f80a2da7b7e2f5810d967174b?at=master

2018-10-08 14:04:40 GMT <alfbot> Title:citeck / ecos-community / source / — Bitbucket (at bitbucket.org)

2018-10-08 14:10:07 GMT <alfresco-discord> <mbui> Thanks. Have you tried implementing it with Alfresco?

2018-10-08 14:10:56 GMT <alfresco-discord> <bhagyas> Nope

2018-10-08 14:11:10 GMT <alfresco-discord> <bhagyas> Haven't had to work with workflows for a while 😃

2018-10-08 14:11:57 GMT <alfresco-discord> <mbui> Kinda in between APS, acitiviti, embedded activiti or flowable when deciding which platform to work with when it comes to processes/workflows.

2018-10-08 14:12:38 GMT <alfresco-discord> <bhagyas> If I had to choose, I'd go with a platform independent open source version

2018-10-08 14:13:17 GMT <alfresco-discord> <bhagyas> that fulfils standard BPM flows and protocols

2018-10-08 14:13:24 GMT <alfresco-discord> <bhagyas> 😉

2018-10-08 14:19:16 GMT <fwu2018> hello all

2018-10-08 15:06:38 GMT <fwu2018> ppl, does the embeded activiti in Alfresco supports the concept of tasks without processes? As far as I can see in activiti this is supported.

2018-10-08 15:36:24 GMT <alfresco-discord> <Erik.whipp> Are there any places for referencing how to properly test Alfresco? I've heard that it is hard to maintain from version to version but the business wants some testing done and I wasn't sure if there is more to test other than REST endpoints and whatnot.

2018-10-08 21:12:58 GMT <alfresco-discord> <kgastaldo> @mbui You may want to chat with the Activiti team on their gitter channel, if you've got specific questions.

2018-10-08 21:13:10 GMT <alfresco-discord> <kgastaldo> https://gitter.im/Activiti/Activiti7

2018-10-08 21:13:11 GMT <alfbot> Title:Activiti/Activiti7 - Gitter (at gitter.im)

2018-10-08 23:15:50 GMT <alfresco-discord> <Erik.whipp> How could I search for all content between to cm:created dates?

2018-10-08 23:29:00 GMT <alfresco-discord> <Erik.whipp> Is there a way to show more than 100 results in the node browser in the admin tools?

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco