Is it possible to start workflows via JSOM in SharePoint Foundation 2013?

I’m currently trying to start a list workflow via JSOM. The problem is that every time I receive the following error:

Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. “GetWorkflowInteropService new Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager() “

I’m using a code similar to this one:

function fire2010WorkflowForListItems(ctx, listGuid, plainItems) {     var workflowServicesManager =         SP.WorkflowServices.WorkflowServicesManager.newObject(ctx,             ctx.get_web());     var service = workflowServicesManager.getWorkflowInteropService();     for(var i = 0; i < plainItems.length; i++) {         var plainItem = plainItems[i];         console.log('scheduling workflow for id: ', plainItem.id);         service.startWorkflow(options.workflowName, null,             listGuid, plainItem.guid, options.initiationParams);     }     console.log('now executing...');     ctx.executeQueryAsync(function() {         console.info('yes, workflows completed for '             + items.length + ' items');     }, function() {         console.error('it didnt go well');     }); } 

found here: https://chuvash.eu/2016/05/19/trigger-sp2010-workflows-using-jsom/

I’ve found, as well, this question, with a similar problem: (Solved) Start a Workflow of the Host-Web via SharePoint App and JSOM

The user solved it, partially, by going to Central Administration -> Application Management -> Manage service applications -> Workflow Service Application Proxy. Unfortunately, I can’t find that option in my Central Administration.

I have SharePoint Foundation 2013.

In that case, my question is: Do I need Workflow Manager 1.0 in order to start workflows from JSOM? Is Workflow Manager available for Foundation? Or do I need the Server version? From these two results my main question: Is it possible to start a workflow, from JSOM, while having SharePoint Foundation 2013?

Thank you!

Ubuntu 19.04 systemd runs script on USB Drive insertion, but fails to start gnome-terminal

first post here…

Looking for some assistance please

I have a systemd process that runs on usb drive insertion, however, I need the terminal to open with this systemd command and it is continually failing to start. By the looks of the systemctl status log when I run “sudo systemctl status elements-usb.service” it would appear the environmentals are wrong or the syntax of my command.

monster@monster-laptop:~$ sudo systemctl status elements-usb.service

Warning: The unit file, source configuration file or drop-ins of elements-usb.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.

● elements-usb.service – elements-usb-trigger Loaded: loaded (/etc/systemd/system/elements-usb.service; enabled; vendor preset: enabled)

Active: failed (Result: exit-code) since Fri 2019-08-23 15:05:30 BST; 4s ago

Process: 26361 ExecStart=/usr/bin/dbus-launch gnome-terminal –command=bash -c ‘/home/monster/.storage-scripts/elements-run-on-mount; $ SHELL’ (code=exited, status=1/FAILURE) Main PID: 26361 (code=exited, status=1/FAILURE)

Aug 23 15:05:30 monster-laptop systemd[1]: Started elements-usb-trigger.

Aug 23 15:05:30 monster-laptop dbus-daemon[26382]: [session uid=0 pid=26371] AppArmor D-Bus mediation is enabled

Aug 23 15:05:30 monster-laptop dbus-launch[26361]: # Option “–command” is deprecated and might be removed in a later version of gnome-terminal.

Aug 23 15:05:30 monster-laptop dbus-launch[26361]: # Use “– ” to terminate the options and put the command line to execute after it.

Aug 23 15:05:30 monster-laptop dbus-launch[26361]: Unable to init server: Could not connect: Connection refused

Aug 23 15:05:30 monster-laptop dbus-launch[26361]: # Failed to parse arguments: Cannot open display:

Aug 23 15:05:30 monster-laptop systemd[1]: elements-usb.service: Main process exited, code=exited, status=1/FAILURE

Aug 23 15:05:30 monster-laptop systemd[1]: elements-usb.service: Failed with result ‘exit-code’.

the systemd command runs the following:

[Unit] Description=elements-usb-trigger Requires=home-usb\x2dstorage.mount After=home-usb\x2dstorage.mount

[Service] ExecStart=dbus-launch gnome-terminal –command=”bash -c ‘/home/monster/.storage-scripts/elements-run-on-mount; $ SHELL'”

[Install] WantedBy=home-usb\x2dstorage.mount

Any clues plse? I’m at a loss now

cPanel Hosting Start with $0.01 only – Christmas and New year Offer

GoGetSpace.com
At Go Get Space, we have created our server and hosting packages to meet your exact needs. Our web hosting packages will cover from a small website or personal blog to High-end corporate needs.

Christmas and New year Offer Exclusively available for DP Members!
cPanel Web Hosting – easy to use Shared hosting for website and blogs at minimal cost.

cPanel Hosting Start with $ 0.01 only – Christmas and New year Offer

Where to start to optimize a forum?

I own a MyBB forum. I have installed SEO plugin to make it user friendly and to have a sitemap.
These are the features:

  • Google SEO 404:
    • Error pages return HTTP 404 Not Found (and others) instead of 200 OK
    • Custom 404 error pages
    • Google's 404 widget
  • Google SEO Meta:
    • description meta tags for forums / threads / etc.
    • specify canonical pages
    • nofollow links
  • Google SEO Redirect:
    • redirect old URLs to…

Where to start to optimize a forum?

PPR40 GET50 HIGH QUALITY BACKLINK PROFILE INSTANT START for $3

HELLO EVERYBODY I WILL PROVIDE YOU PPR40 GET 50 HIGH QUALITY BACKLINK PROFILE NON DROP INSTANT START ONLY OFR $ 3. QUALITY OF MY BACKLINK PROFILE SERVICE: ALL WORK ARE 100% REAL AND NON DROP 100% MONEY BACK GUARANTEED TIME SAVE ALL TIME INSTANT START ALL TIME EXTRA BONUS OFFER NO ADMIN PASSWORD NO BOTS USER AND NO FAKE MY ALL WORK CHECK MY SEO PROFILE SO KINDLY ORDER ME NOW

by: shadiakhatun
Created: —
Category: Link Building
Viewed: 139


More than 9 NVME devices running start to bottleneck in linux, Ubunutu 16/18

We have a server with 24 custom NVMe devices connected ( the company i work is developing a custom ASIC for hardware video transcoding utilizing NVMe as a trasport) We are interacting with our NVMe devices using vendor specific commands in NVMe protocol utilizing linux IOCTL interface with standard inbox NVMe linux driver. We are testing this on both ubuntu 16.04 and 18.04 with various kernel but end up with the same issue no matter what we do. We have 24 devices connected over NVMe in a Gigabyte made storage server. When we run out tests, we are able to work at the desires transcoding FPS range with 9 of our devices at a time. We use FFMpeg with a custom AVCODEC plugin to run transcoding sessions. As soon as we try to utilize the 10th NVMe device, we see the performance drop on the other devices, which tells us that there is some kind of bottleneck in doing NVMe transfers. Our IO is very different from the normal SSD drive since we try to do as big of transfers as possible for both READ and WRITE operations (not NVMe read/write, but our read/write over vendor specific command interface)

we have tried to tune just about every kernel parameter there exists including using polling/hybrid polling/interrupts for nvme, changing max transfer sizes etc, nothing helps.

The server is more that capable of utilizing 10 or even 24 nvme drives , it was built for it and CPU usage is definately not a bottleneck. All our data transfers from user space to kernel space are Zero copy and 512 bytes aligned and this is confirmed by running perf on the instances.

If anyone had any experience tuning a big NVME storage system with more than 10 drives in Ubuntu (ubuntu is the primary linux distro for us atm) please share what else is it possible to do to get more than 10 devices running at max transfer rates.

Filtering a list by input date between ‘start date

I have a MeetingTopic list (things to discuss at a meeting), with a StartDate field and an EndDate field. I am trying to create a page that takes a date parameter (MeetingDate) and presents all topics that are valid on that date (MeetingTopic.StartDate <= MeetingDate and MeetingDate <= MeetingTopic.EndDate).

How do I set this up? I do not have access to SharePoint Designer at this location, so every answer I have after several days looking will not work.

I have added a Query String (URL) Filter to the page. I can connect it to the MeetingTopic list web part but can only seem to get it to filter as a match to a single field (StartDate = MeetingDate). How can I:

  1. get it to return records where StartDate <= MeetingDate; and
  2. get it to also filter on EndDate >= MeetingDate?

Alternately, how can I get a data input to the page and filter the list on that input date, compared to both StartDate and EndDate? Is Query String (URL) Filter the wrong approach?

Is there a way, other than having a Diviner friend, for a player to avoid rolling Initiative at the start of a combat?

I’ve been starting to theorize the following concept: a player who would… never… roll dice… ever. Not in combat, not elsewhere. No dice. Literally. But I have come across a major obstacle: Initiative.

Now, I’ve been thinking: perhaps that roll-averse player could get himself a Diviner friend to give him Portents as Initiative rolls? But I’d rather not rely on that, since a Diviner has so few Portents per day, and probably will want to use them for other purposes.

So… Is there a way, other than having a Diviner friend, for a player to avoid rolling Initiative at the start of a combat?

If, somehow, there was a way to become proficient in Initiative rolls, then the Rogue’s Reliable Talent could be used to avoid rolling for Initiative, but I don’t know if there is one.

If, somehow, there was a magic item to replace an ability check roll by a certain number (like the Clockwork Amulet does for attack rolls), that could solve the problem as well, but again, I don’t know if there is one.